checkedint v0.4.4 (2016-06-05T09:26:21Z)
Dub
Repo
SmartInt.opUnary
checkedint
SmartInt
See
smartOp
.
typeof
(
this
)
opUnary
()
SmartInt
!(
Signed
!
N
,
policy
,
bitOps
)
opUnary
()
struct
SmartInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
const
SmartInt
!(
Signed
!
N
,
policy
,
bitOps
)
opUnary
(
string
op
)
(
)
if
(
op
== "+" ||
op
== "-"
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
typeof
(
this
)
opUnary
()
SmartInt
!(
Unsigned
!
N
,
policy
,
bitOps
)
abs
()
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.