Skip to content

Commit

Permalink
hlint
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Feb 21, 2024
1 parent e9fa8eb commit 70fd9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CrackNum/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ encodeE4M3 debug inp = case reads (fixup True inp) of
| isOutOfBounds v -- becomes NaN
= do getNaN >>= putStrLn . onEach fixNaN . fixEncoded
putStrLn $ " Note: The input value " ++ show v ++ " is out of bounds, and hence becomes NaN"
putStrLn $ " The representable range is [-448, 448]"
putStrLn " The representable range is [-448, 448]"
| isIEEESemantics v -- can just decode as usual
= do res <- satWith config $ do x :: SFloatingPoint 4 4 <- sFloatingPoint "ENCODED"
constrain $ x .== fromSDouble sRNE (literal v)
Expand Down

0 comments on commit 70fd9b7

Please sign in to comment.