checkedint v0.7.0 (2020-04-18T21:41:28Z)
Dub
Repo
SmartInt.opEquals
checkedint
SmartInt
Returns
true
if this value is mathematically precisely equal to
right
.
struct
SmartInt
(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
const pure @
safe
nothrow @
nogc
bool
opEquals
(
M
)
(
const
M
right
)
if
(
isCheckedInt
!
M
||
isScalarType
!
M
)
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
Returns true if this value is mathematically precisely equal to right.