[pypy-svn] r45946 - pypy/branch/pypy-more-rtti-inprogress/translator/c/src

fijal at codespeak.net fijal at codespeak.net
Fri Aug 24 11:57:54 CEST 2007


Author: fijal
Date: Fri Aug 24 11:57:54 2007
New Revision: 45946

Modified:
   pypy/branch/pypy-more-rtti-inprogress/translator/c/src/float.h
Log:
Implement float_mod


Modified: pypy/branch/pypy-more-rtti-inprogress/translator/c/src/float.h
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/translator/c/src/float.h	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/translator/c/src/float.h	Fri Aug 24 11:57:54 2007
@@ -28,6 +28,7 @@
 #define OP_FLOAT_MUL(x,y,r)     r = x * y
 #define OP_FLOAT_TRUEDIV(x,y,r) r = x / y
 #define OP_FLOAT_POW(x,y,r)     r = pow(x, y) 
+#define OP_FLOAT_MOD(x,y,r)     r = fmod(x, y)
 
 /*** conversions ***/
 



More information about the Pypy-commit mailing list