checkedint ~master (2017-04-21T23:53:16Z)
Dub
Repo
SafeInt.opBinaryRight
checkedint
SafeInt
Perform a floating-point math operation.
M
opBinaryRight
(
const
M
left
)
struct
SafeInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
M
opBinaryRight
const pure @
safe
nothrow @
nogc
(
string
op
M
)
(
const
M
left
)
if
(
isFloatingPoint
!
M
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
SafeInt
!(
OpType
!(
M
,
op
,
N
),
policy
,
bitOps
)
opBinaryRight
(
const
M
left
)
M
opBinary
(
const
M
right
)
Meta
Source
See Implementation
checkedint
SafeInt
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
Perform a floating-point math operation.