Home
last modified time | relevance | path

Searched refs:_Fmt (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/ryu/
H A Df2s.cpp422 chars_format _Fmt, const uint32_t __ieeeMantissa, const uint32_t __ieeeExponent) { in __to_chars() argument
429 if (_Fmt == chars_format{}) { in __to_chars()
448 _Fmt = chars_format::fixed; in __to_chars()
450 _Fmt = chars_format::scientific; in __to_chars()
452 } else if (_Fmt == chars_format::general) { in __to_chars()
459 _Fmt = chars_format::fixed; in __to_chars()
461 _Fmt = chars_format::scientific; in __to_chars()
465 if (_Fmt == chars_format::fixed) { in __to_chars()
666 const chars_format _Fmt) { in __f2s_buffered_n() argument
673 if (_Fmt == chars_format::scientific) { in __f2s_buffered_n()
[all …]
H A Dd2s.cpp357 chars_format _Fmt, const double __f) { in __to_chars() argument
364 if (_Fmt == chars_format{}) { in __to_chars()
383 _Fmt = chars_format::fixed; in __to_chars()
385 _Fmt = chars_format::scientific; in __to_chars()
387 } else if (_Fmt == chars_format::general) { in __to_chars()
394 _Fmt = chars_format::fixed; in __to_chars()
396 _Fmt = chars_format::scientific; in __to_chars()
400 if (_Fmt == chars_format::fixed) { in __to_chars()
705 const chars_format _Fmt) { in __d2s_buffered_n() argument
712 if (_Fmt == chars_format::scientific) { in __d2s_buffered_n()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/include/ryu/
H A Dryu.h90 char* const _First, char* const _Last, const _Floating _Value, const chars_format _Fmt) noexcept { in _Floating_to_chars_ryu()
92 return __f2s_buffered_n(_First, _Last, _Value, _Fmt); in _Floating_to_chars_ryu()
94 return __d2s_buffered_n(_First, _Last, _Value, _Fmt); in _Floating_to_chars_ryu()
91 _Floating_to_chars_ryu(char * const _First,char * const _Last,const _Floating _Value,const chars_format _Fmt) _Floating_to_chars_ryu() argument
H A Df2s.h49 … __f2s_buffered_n(char* const _First, char* const _Last, const float __f, const chars_format _Fmt);
H A Dd2s.h56 …__d2s_buffered_n(char* const _First, char* const _Last, const double __f, const chars_format _Fmt);
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dto_chars_floating_point.h992 char* _First, char* const _Last, _Floating _Value, const chars_format _Fmt, const int _Precision) noexcept {
995 _LIBCPP_ASSERT_INTERNAL(_Fmt == chars_format{}, ""); // plain overload must pass chars_format{} internally
997 _LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN(_Fmt == chars_format::general || _Fmt == chars_format::scientific
998 || _Fmt == chars_format::fixed || _Fmt == chars_format::hex,
1055 if (_Fmt == chars_format::hex) {
1059 return _Floating_to_chars_ryu(_First, _Last, _Value, _Fmt);
1061 switch (_Fmt) {