Haskell Report (again)

Dylan Thurston dpt@math.harvard.edu
Tue, 17 Jul 2001 02:32:33 -0400

On Tue, Jul 10, 2001 at 05:50:08AM -0700, Simon Peyton-Jones wrote:
> As ever, the draft is at
> 	http://research.microsoft.com/~simonpj/haskell98-revised
> I'm really hoping this is the final version, but experience suggests
> that whenever I say that someone discovers an entirely new question!
> So I'm putting it out again for you to pick over.

I'm astonished no one has noticed this before, but in the library
report for the Numeric library, the definition of showFFloat is buggy:

showFFloat Nothing 0.02 ""

goes into an infinite loop.  (There is an auxiliary function
'f n s ds' which does not consider the case n < 0).

This suggests that there needs to be a code review of formatRealFloat,
which I have not yet done.

--Dylan Thurston