Home
last modified time | relevance | path

Searched refs:_Scientific_exponent (Results 1 – 2 of 2) sorted by relevance

/openbsd/gnu/llvm/libcxx/src/ryu/
H A Dd2s.cpp361 int32_t _Scientific_exponent = _Ryu_exponent + static_cast<int32_t>(__olength) - 1; in __to_chars() local
392 if (-4 <= _Scientific_exponent && _Scientific_exponent < 6) { in __to_chars()
580 + (-100 < _Scientific_exponent && _Scientific_exponent < 100 ? 4 : 5); // + scientific exponent in __to_chars()
651 if (_Scientific_exponent < 0) { in __to_chars()
653 _Scientific_exponent = -_Scientific_exponent; in __to_chars()
658 if (_Scientific_exponent >= 100) { in __to_chars()
659 const int32_t __c = _Scientific_exponent % 10; in __to_chars()
660 _VSTD::memcpy(__result + __index, __DIGIT_TABLE + 2 * (_Scientific_exponent / 10), 2); in __to_chars()
664 _VSTD::memcpy(__result + __index, __DIGIT_TABLE + 2 * _Scientific_exponent, 2); in __to_chars()
H A Df2s.cpp425 int32_t _Scientific_exponent = _Ryu_exponent + static_cast<int32_t>(__olength) - 1; in __to_chars() local
456 if (-4 <= _Scientific_exponent && _Scientific_exponent < 6) { in __to_chars()
650 if (_Scientific_exponent < 0) { in __to_chars()
652 _Scientific_exponent = -_Scientific_exponent; in __to_chars()
657 _VSTD::memcpy(__result + __index, __DIGIT_TABLE + 2 * _Scientific_exponent, 2); in __to_chars()