mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
FormattedFloating
mir
format
Wrapper to format floating point numbers using C's library.
struct
FormattedFloating
(T)
struct
FormattedFloating (
T
)
if
(
is
(
T
==
float
) ||
is
(
T
==
double
)
||
is
(
T
==
real
)
) {
T
value
;
FormatSpec
spec
;
void
toString
(W w);
}
FormattedFloating
!
T
withFormat
(T value, FormatSpec spec)
Members
Functions
toString
void
toString
(W w)
Variables
spec
FormatSpec
spec
;
value
T
value
;
Meta
Source
See Implementation
mir
format
aliases
dstringBuf
stringBuf
wstringBuf
enums
EscapeFormat
SwitchLU
escapeFormatQuote
functions
print
printBoolean
printElement
printEscaped
printStaticString
printZeroPad
put_uXXXX
put_xXX
text
withFormat
manifest constants
getData
mixin templates
StreamFormatOp
structs
FormatSpec
FormattedFloating
GetData
HexAddress
NumericSpec
_stringBuf
templates
isFastBuffer
Wrapper to format floating point numbers using C's library.