Author: Justin Peel <[email protected]>
Branch: unsigned-dtypes
Changeset: r47398:b72e47360723
Date: 2011-09-22 17:07 +0000
http://bitbucket.org/pypy/pypy/changeset/b72e47360723/
Log: add ullong_from_float
diff --git a/pypy/jit/codewriter/support.py b/pypy/jit/codewriter/support.py
--- a/pypy/jit/codewriter/support.py
+++ b/pypy/jit/codewriter/support.py
@@ -330,6 +330,9 @@
def _ll_1_llong_from_float(xf):
return r_longlong(xf)
+def _ll_1_ullong_from_float(xf):
+ return r_ulonglong(xf)
+
def _ll_1_llong_to_float(xll):
return float(rffi.cast(lltype.SignedLongLong, xll))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit