Files
RustPython/Lib/test/test_math.py
Dongin Kim 1406f80c3c fix failed test remainder in test_math
add conditions for below rules

1. remainder(x, inf) is x, for non-NaN non-infinite x
2. According to IEEE 754-2008 7.2(f)
 2-1. remainder(x, 0) for non-NaN x is invalid operation
 2-2. remainder(infinity, x) for non-NaN x is invalid operation
2021-09-11 20:00:29 +09:00

88 KiB
Vendored