
25 Jul
2015
25 Jul
'15
1:46 p.m.
I'm no expert on arithmetic, but I'd have thought that a well-designed and well-documented plan for handling arithmetic exceptions (as values) would be good.
Start a wiki page on the GHC Trac!
Are there primops for Int, so the only issue is making ones for other types?
I've just put my notes here: https://ghc.haskell.org/trac/ghc/wiki/ImprovedArithmeticPrimops Let me know if this page doesn't answer your question. Do I need to create a ticket, too? In the testsuite, primops live in files like this: testsuite/tests/primops/should_run/T7689.hs