mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
DecimalView.fromStringImpl
mir
bignum
low_level_view
DecimalView
struct
DecimalView
(W)
@
safe
scope @
trusted
pure @
nogc
nothrow
static if
(
is(W == size_t)
)
bool
fromStringImpl
(
C
bool
allowSpecialValues
= true
bool
allowDotOnBounds
= true
bool
allowDExponent
= true
bool
allowStartingPlus
= true
bool
allowUnderscores
= true
bool
allowLeadingZeros
= true
bool
allowExponent
= true
bool
checkEmpty
= true
)
(
scope
const
(
C
)[]
str
,
out
DecimalExponentKey
key
,
int
exponentShift
= 0
)
if
(
isSomeChar
!
C
)
if
(
is
(
Unqual
!
W
==
size_t
)
)
Return Value
Type:
bool
false in case of overflow or incorrect string. Precondition: non-empty coefficients
mir
bignum
low_level_view
DecimalView
functions
fromStringImpl
lightConst
opCast
signedCoefficient
variables
coefficient
exponent
sign