diff --git a/rts/python/scalar.py b/rts/python/scalar.py index 45d1044a7d..da8a6e8a75 100644 --- a/rts/python/scalar.py +++ b/rts/python/scalar.py @@ -990,6 +990,18 @@ def futhark_lerp64(v0, v1, t): return v0 + (v1 - v0) * t +def futhark_ldexp16(x, y): + return np.ldexp(x, y) + + +def futhark_ldexp32(x, y): + return np.ldexp(x, y) + + +def futhark_ldexp64(x, y): + return np.ldexp(x, y) + + def futhark_mad16(a, b, c): return a * b + c