[Haskell-beginners] Double's

Nicolas Pouillard nicolas.pouillard at gmail.com
Wed Jul 22 07:22:55 EDT 2009


Excerpts from Brent Yorgey's message of Wed Jul 22 04:45:29 +0200 2009:
> On Tue, Jul 21, 2009 at 08:51:05PM -0300, Felipe Lessa wrote:
> > On Tue, Jul 21, 2009 at 07:10:40PM -0400, Thomas Friedrich wrote:
> > > I really should have thought about this, but I didn't.
> > 
> > Note that Rational's are really really really slow, probably it
> > would be better to spend some time reading Goldberg's paper[1].
> > 
> > [1] http://docs.sun.com/source/806-3568/ncg_goldberg.html
> 
> Premature optimization is the sqrt of all evil.

+1 Rationals can do their jobs really well, even being much slower than
Doubles.

-- 
Nicolas Pouillard
http://nicolaspouillard.fr


More information about the Beginners mailing list