
#11183: Numeric.showFFloat outputs decimal point when it should not. -------------------------------------+------------------------------------- Reporter: Dobiasd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 7.10.2 libraries/base | Keywords: Numeric, | Operating System: Unknown/Multiple showFFloat, showFFloatAlt | Architecture: | Type of failure: Incorrect result Unknown/Multiple | at runtime Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- {{{#!hs showFFloat Nothing 42 "" }}} The expression above should give "42" but actually gives "42.0". Only showFFloatAlt should do this. Minimal example: http://ideone.com/yYvqrf -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11183 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler