checkedint ~master (2017-04-21T23:53:16Z)
Dub
Repo
SmartInt.abs
checkedint
SmartInt
See
smartOp
.
typeof
(
this
)
opUnary
()
SmartInt
!(
Signed
!
N
,
policy
,
bitOps
)
opUnary
()
typeof
(
this
)
opUnary
()
SmartInt
!(
Unsigned
!
N
,
policy
,
bitOps
)
abs
()
struct
SmartInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
SmartInt
!(
Unsigned
!
N
,
policy
,
bitOps
)
abs
const pure @
safe
nothrow @
nogc
(
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
Meta
Source
See Implementation
checkedint
SmartInt
constructors
this
functions
abs
bsf
bsr
divPow2
ilogb
modPow2
mulPow2
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
popcnt
pow
toHash
toString
properties
bits
idx
variables
bscal
max
min
policy
See smartOp.