[pypy-svn] r32785 - pypy/dist/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Sun Oct 1 12:49:23 CEST 2006


Author: arigo
Date: Sun Oct  1 12:49:22 2006
New Revision: 32785

Modified:
   pypy/dist/pypy/rpython/lltypesystem/opimpl.py
Log:
Operation implementation missing, making test_lloperation unhappy.


Modified: pypy/dist/pypy/rpython/lltypesystem/opimpl.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/opimpl.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/opimpl.py	Sun Oct  1 12:49:22 2006
@@ -179,6 +179,10 @@
     assert type(i) is int
     return float(i)
 
+def op_cast_uint_to_float(u):
+    assert type(u) is r_uint
+    return float(u)
+
 def op_cast_int_to_char(b):
     assert type(b) is int
     return chr(b)


More information about the pypy-svn mailing list