[pypy-svn] r25361 - pypy/branch/explicit-exceptions/translator/c/src
mwh at codespeak.net
mwh at codespeak.net
Wed Apr 5 13:13:23 CEST 2006
Author: mwh
Date: Wed Apr 5 13:13:19 2006
New Revision: 25361
Modified:
pypy/branch/explicit-exceptions/translator/c/src/float.h
Log:
merging of http://codespeak.net/svn/pypy/dist/pypy/translator/c/src/float.h
revisions 24785 to 25354:
------------------------------------------------------------------------
r25000 | arigo | 2006-03-25 19:19:57 +0100 (Sat, 25 Mar 2006) | 7 lines
Remove some of the division low-level operations.
Now we only have xxx_floordiv for integer types,
and float_truediv for floats. The high-level
operations are mapped to one of these, possibly
with conversions (inserted automagically by the
rtyper).
------------------------------------------------------------------------
Modified: pypy/branch/explicit-exceptions/translator/c/src/float.h
==============================================================================
--- pypy/branch/explicit-exceptions/translator/c/src/float.h (original)
+++ pypy/branch/explicit-exceptions/translator/c/src/float.h Wed Apr 5 13:13:19 2006
@@ -26,7 +26,6 @@
#define OP_FLOAT_ADD(x,y,r) r = x + y
#define OP_FLOAT_SUB(x,y,r) r = x - y
#define OP_FLOAT_MUL(x,y,r) r = x * y
-#define OP_FLOAT_DIV(x,y,r) r = x / y
#define OP_FLOAT_TRUEDIV(x,y,r) OP_FLOAT_DIV(x,y,r)
#define OP_FLOAT_POW(x,y,r) r = pow(x, y)
More information about the Pypy-commit
mailing list