checkedint ~master (2017-04-21T23:53:16Z)
Dub
Repo
SmartInt.opBinary
checkedint
SmartInt
See
smartOp
.
auto
opBinary
(
const
M
right
)
struct
SmartInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
auto
opBinary
const pure @
safe
nothrow @
nogc
(
string
op
M
)
(
const
M
right
)
if
(
isFloatingPoint
!
M
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
auto
opBinary
(
const
M
right
)
SmartInt
!(
ubyte
,
policy
,
bitOps
)
bsf
()
SmartInt
!(
ubyte
,
policy
,
bitOps
)
bsr
()
SmartInt
!(
ubyte
,
policy
,
bitOps
)
ilogb
()
auto
opBinaryRight
(
const
M
left
)
auto
opBinaryRight
(
const
M
left
)
typeof
(
this
)
opOpAssign
(
const
M
right
)
auto
mulPow2
(
const
M
exp
)
auto
mulPow2
(
const
M
exp
)
auto
divPow2
(
const
M
exp
)
auto
divPow2
(
const
M
exp
)
auto
modPow2
(
const
M
exp
)
auto
modPow2
(
const
M
exp
)
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.