GHCi crashes with SIGFPE when using double-conversion package
This is 100% reproducible. Install the double-conversion package:
`cabal install double-conversion`
And now kill GHCi:
```
Prelude> :m +Data.Double.Conversion.ByteString Data.ByteString
Prelude> toShortest 3
"Floating point exception (core dumped)
```
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 7.0.4 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | GHCi |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"GHCi crashes with SIGFPE when using double-conversion package","status":"New","operating_system":"","component":"GHCi","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.0.4","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"This is 100% reproducible. Install the double-conversion package:\r\n\r\n{{{cabal install double-conversion}}}\r\n\r\nAnd now kill GHCi:\r\n\r\n{{{\r\nPrelude> :m +Data.Double.Conversion.ByteString Data.ByteString\r\nPrelude> toShortest 3\r\n\"Floating point exception (core dumped)\r\n}}}\r\n\r\n","type_of_failure":"OtherFailure","blocking":[]} -->
issue