[pypy-svn] r68061 - pypy/branch/floats-via-sse2/pypy/jit/metainterp/test
arigo at codespeak.net
arigo at codespeak.net
Wed Sep 30 22:39:35 CEST 2009
Author: arigo
Date: Wed Sep 30 22:39:35 2009
New Revision: 68061
Modified:
pypy/branch/floats-via-sse2/pypy/jit/metainterp/test/test_executor.py
Log:
Generic test for bool(-0.0).
Modified: pypy/branch/floats-via-sse2/pypy/jit/metainterp/test/test_executor.py
==============================================================================
--- pypy/branch/floats-via-sse2/pypy/jit/metainterp/test/test_executor.py (original)
+++ pypy/branch/floats-via-sse2/pypy/jit/metainterp/test/test_executor.py Wed Sep 30 22:39:35 2009
@@ -115,6 +115,7 @@
yield (rop.FLOAT_ABS, [15.9], 'float', 15.9)
yield (rop.FLOAT_IS_TRUE, [-5.9], 'int', 1)
yield (rop.FLOAT_IS_TRUE, [0.0], 'int', 0)
+ yield (rop.FLOAT_IS_TRUE, [-0.0], 'int', 0)
yield (rop.CAST_FLOAT_TO_INT, [-5.9], 'int', -5)
yield (rop.CAST_FLOAT_TO_INT, [5.9], 'int', 5)
yield (rop.CAST_INT_TO_FLOAT, [123], 'float', 123.0)
More information about the Pypy-commit
mailing list