Commits

Alex Gaynor  committed 526ab5d

unroll this

  • Participants
  • Parent commits dd12179

Comments (0)

Files changed (1)

File pypy/rlib/rstruct/ieee.py

 
 import math
 
-from pypy.rlib import rarithmetic, rfloat, objectmodel
+from pypy.rlib import rarithmetic, rfloat, objectmodel, jit
 from pypy.rlib.rarithmetic import r_ulonglong
 
 
     return ((sign << BITS - 1) | (exp << MANT_DIG - 1)) | mant
 
 
+@jit.unroll_safe
 def pack_float(result, x, size, be):
     l = []
     unsigned = float_pack(x, size)