
#14384: real numbers, digits after the decimal point - digits of precision -------------------------------------+------------------------------------- Reporter: vanto | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- the results from computation should have eleven digits after the decimal point for real numbers. (11 digits of precision) it seems reasonable.\\ instead of: {{{ Prelude> (16.0/0.00002)**2.1 2.491661103847512e12 }}} this is better:\\ {{{ 2.49166110385e12 }}} it should be noted that a lot of computing system uses this precision. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14384 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler