Parse the specified literal text into a decimal floating‐point value.
Synopses
Declared in <bdldfp_decimal.h>
Parse the specified literal text into a decimal floating‐point value.
bdldfp::Decimal32
operator""_d32(char const* str);
Parse the specified literal text into a decimal floating‐point value.
bdldfp::Decimal32
operator""_d32(
char const* str,
std::size_t len);
Return Value
-
decimal object of the return type initialized to infinity with the same sign
-
the parsed
Decimal32value
Parameters
Name |
Description |
str |
character sequence to parse |
len |
length of |
Created with MrDocs