[GHC] #9936: Data.Fixed truncates 5.17 to 5.16
GHC
ghc-devs at haskell.org
Tue Feb 2 21:58:29 UTC 2016
#9936: Data.Fixed truncates 5.17 to 5.16
-------------------------------------+-------------------------------------
Reporter: singpolyma | Owner:
Type: bug | Status: patch
Priority: normal | Milestone:
Component: libraries/base | Version: 7.6.3
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect result | Unknown/Multiple
at runtime | Test Case:
Blocked By: | Blocking:
Related Tickets: #9231, #9240 | Differential Rev(s): Phab:D1693
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bernalex):
I tried this (see the differential), but it breaks things like read
"38.009" :: Centi being the same as 38.009 :: Centi, which is not very
nice.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9936#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list