Open
Description
Transfinite numbers are not preserved by Template Haskell, as -ddump-splices
shows:
Test12.hs:13:10-55: Splicing expression
listToVecTH [- 0 :: Float, unpack 0x7FC00000]
======>
(0.0 :> (5.104235503814077e38 :> Nil))
(these values should have been negative zero and a positive quiet NaN with a zero payload, but end up as positive zero and infinity).
This has been closed as wontfix
in GHC issue #13124.