Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
408 if (__roundUp == 1 || __c % 2 != 0) { 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()
[all …]
H A Dd2s.cpp315 bool __roundUp = false; in __d2d() local
321 __roundUp = __vrMod100 >= 50; in __d2d()
339 __roundUp = __vrMod10 >= 5; in __d2d()
346 _Output = __vr + (__vr == __vm || __roundUp); in __d2d()