[GHC] #8285: unexpected behavior with encodeFloat on large inputs

GHC ghc-devs at haskell.org
Thu Nov 20 01:02:43 UTC 2014


#8285: unexpected behavior with encodeFloat on large inputs
-------------------------------------+-------------------------------------
              Reporter:  carter      |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  7.7
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:  Incorrect   |       Blocked By:
  result at runtime                  |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by thomie):

 Replying to [comment:2 hvr]:
 > PS: Now I see the problem

 What is exactly the problem? That the second argument to `encodeFloat` is
 treated as a 32 bit integer?

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8285#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list