Fix for different Windows float repr
authorRobert Bradshaw <robertwb@math.washington.edu>
Wed, 11 Nov 2009 06:47:43 +0000 (22:47 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Wed, 11 Nov 2009 06:47:43 +0000 (22:47 -0800)
tests/run/float_floor_division_T260.pyx

index 63b12c0bdda466cf5e86f7d93e4d1fa7402eb027..7b135ac776915c7c5a7d95762e9c48007a222c40 100644 (file)
@@ -6,7 +6,7 @@ def floor_div_float(double a, double b):
     -2.0
     >>> floor_div_float(-2.3, 1.5)
     -2.0
-    >>> floor_div_float(1e10, 1e-10)
-    1e+20
+    >>> floor_div_float(1e10, 1e-10) == 1e20
+    True
     """
     return a // b