checkedint v0.1.1 (2016-01-25T13:30:11Z)
Dub
Repo
SafeInt.pow
checkedint
SafeInt
Undocumented in source. Be warned that the author may not have intended to support it.
M
pow
(M exp)
SafeInt
!(
CallType
!(
std
.
math
.
pow
,
N
,
BasicScalar
!
M
),
bitOps
&&
hasBitOps
!
M
,
throws
||
isThrowingCInt
!
M
)
pow
(M exp)
struct
SafeInt
(N, bool bitOps = true, bool throws = true)
const
SafeInt
!(
CallType
!(
std.math.pow
,
N
,
BasicScalar
!
M
),
bitOps
&&
hasBitOps
!
M
,
throws
||
isThrowingCInt
!
M
)
pow
(
M
)
(
const
M
exp
)
if
(
isSafeInt
!
M
||
isFixedPoint
!
M
)
if
(
isIntegral
!
N
&&
isUnqual
!
N
)
Meta
Source
See Implementation
checkedint
SafeInt
constructors
this
functions
abs
bsf
bsr
ilogb
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
popcnt
pow
toHash
toString
manifest constants
max
min
properties
bits
idx
variables
bscal