checkedint v0.7.0 (2020-04-18T21:41:28Z)
Dub
Repo
SmartInt.opBinaryRight
checkedint
SmartInt
See
smartOp
.
auto
opBinaryRight
(M left)
auto
opBinaryRight
(M left)
struct
SmartInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
const @
safe
auto
opBinaryRight
(
string
op
M
)
(
const
M
left
)
if
(
isSafeInt
!
M
||
isFixedPoint
!
M
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
SmartInt
!(
ubyte
,
policy
,
bitOps
)
bsf
()
SmartInt
!(
ubyte
,
policy
,
bitOps
)
bsr
()
SmartInt
!(
ubyte
,
policy
,
bitOps
)
ilogb
()
auto
opBinary
(M right)
auto
opBinary
(M right)
typeof
(
this
)
opOpAssign
(M right)
auto
mulPow2
(M exp)
auto
mulPow2
(M exp)
auto
divPow2
(M exp)
auto
divPow2
(M exp)
auto
modPow2
(M exp)
auto
modPow2
(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.