Commit b5768cce authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Don't use timesInt2# with GHC < 8.11 (fix #18358)

parent 625a7f54
Pipeline #21360 canceled with stages
......@@ -407,7 +407,7 @@ integerMul x (IS 1#) = x
integerMul (IS 1#) y = y
integerMul x (IS -1#) = integerNegate x
integerMul (IS -1#) y = integerNegate y
#if __GLASGOW_HASKELL__ < 809
#if __GLASGOW_HASKELL__ < 811
integerMul (IS x) (IS y) = case mulIntMayOflo# x y of
0# -> IS (x *# y)
_ -> case (# isTrue# (x >=# 0#), isTrue# (y >=# 0#) #) of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment