Commit 9aaaf624 authored by thoughtpolice's avatar thoughtpolice
Browse files

Fix test for #8116.

This caused a failure on some 32bit builds due to floating point
(in)accuracy. But Complex is already strict in both its components, and
we really just want to know the code works, so an easier solution is to
simply use `seq` to force evaluation.
Signed-off-by: thoughtpolice's avatarAustin Seipp <>
parent d764c0ce
:m + Data.Complex
((-2) :+ 0)**(1.5 :+ 0)
((-2) :+ 0)**(1.5 :+ 0) `seq` putStrLn "BOOM"
(-5.195736337412959e-16) :+ (-2.82842712474619)
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