Skip to content
Snippets Groups Projects
Commit ec58db71 authored by ian@well-typed.com's avatar ian@well-typed.com
Browse files

More build fixes

parent b681077b
No related branches found
No related tags found
No related merge requests found
...@@ -131,9 +131,9 @@ integerLog2IsPowerOf2# _ = (# negateInt# 1#, 1# #) ...@@ -131,9 +131,9 @@ integerLog2IsPowerOf2# _ = (# negateInt# 1#, 1# #)
-- This function should probably be improved. -- This function should probably be improved.
roundingMode# :: Integer -> Int# -> Int# roundingMode# :: Integer -> Int# -> Int#
roundingMode# m h = roundingMode# m h =
case smallInteger 1# `shiftLInteger` h of case oneInteger `shiftLInteger` h of
c -> case m `andInteger` c -> case m `andInteger`
((c `plusInteger` c) `minusInteger` smallInteger 1#) of ((c `plusInteger` c) `minusInteger` oneInteger) of
r -> r ->
if c `ltInteger` r if c `ltInteger` r
then 2# then 2#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment