NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
fast_float.h
Go to the documentation of this file.
1#ifndef FASTFLOAT_FAST_FLOAT_H
2#define FASTFLOAT_FAST_FLOAT_H
3
4#include <system_error>
5
6namespace fast_float {
8 scientific = 1<<0,
9 fixed = 1<<2,
10 hex = 1<<3,
12};
13
14
16 const char *ptr;
17 std::errc ec;
18};
19
22 char dot = '.')
23 : format(fmt), decimal_point(dot) {}
24
29};
30
50template<typename T>
51from_chars_result from_chars(const char *first, const char *last,
52 T &value, chars_format fmt = chars_format::general) noexcept;
53
57template<typename T>
58from_chars_result from_chars_advanced(const char *first, const char *last,
59 T &value, parse_options options) noexcept;
60
61}
62#include "parse_number.h"
63#endif // FASTFLOAT_FAST_FLOAT_H
CONSTDATA date::last_spec last
Definition: date.h:1989
from_chars_result from_chars(const char *first, const char *last, T &value, chars_format fmt=chars_format::general) noexcept
Definition: parse_number.h:66
@ scientific
Definition: fast_float.h:8
from_chars_result from_chars_advanced(const char *first, const char *last, T &value, parse_options options) noexcept
Definition: parse_number.h:72
constexpr parse_options(chars_format fmt=chars_format::general, char dot='.')
Definition: fast_float.h:21