Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/src/ryu/
H A Dd2fixed.cpp318 int __roundUp = 0; in __d2fixed_buffered_n() local
366 __roundUp = __lastDigit > 5; in __d2fixed_buffered_n()
372 __roundUp = __trailingZeros ? 2 : 1; in __d2fixed_buffered_n()
384 if (__roundUp != 0) { in __d2fixed_buffered_n()
406 __roundUp = 1; in __d2fixed_buffered_n()
571 int __roundUp = 0; in __d2exp_buffered_n() local
573 __roundUp = __lastDigit > 5; in __d2exp_buffered_n()
585 __roundUp = __trailingZeros ? 2 : 1; in __d2exp_buffered_n()
611 if (__roundUp != 0) { in __d2exp_buffered_n()
625 __roundUp = 1; in __d2exp_buffered_n()
[all …]
H A Dd2s.cpp314 bool __roundUp = false; in __d2d() local
320 __roundUp = __vrMod100 >= 50; in __d2d()
338 __roundUp = __vrMod10 >= 5; in __d2d()
345 _Output = __vr + (__vr == __vm || __roundUp); in __d2d()