Commit 756af614 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix for different Windows float repr

parent 0855d80e
...@@ -6,7 +6,7 @@ def floor_div_float(double a, double b): ...@@ -6,7 +6,7 @@ def floor_div_float(double a, double b):
-2.0 -2.0
>>> floor_div_float(-2.3, 1.5) >>> floor_div_float(-2.3, 1.5)
-2.0 -2.0
>>> floor_div_float(1e10, 1e-10) >>> floor_div_float(1e10, 1e-10) == 1e20
1e+20 True
""" """
return a // b return a // b
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment