Searched refs:half_even_correction (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
H A Dlongobject.c2221 "x + half_even_correction[x & 7]" gives x rounded to the nearest
2223 static const int half_even_correction[8] = {0, -1, -2, 1, 0, -1, 2, 1}; local
2299 x_digits[0] += half_even_correction[x_digits[0] & 7];

Completed in 67 milliseconds