[Haskell-cafe] Sinus in Haskell

Bryan O'Sullivan bos at serpentine.com
Fri Nov 9 14:13:49 EST 2007


Hans van Thiel wrote:

> Can anybody explain the results for 1.0, 2.0 and 3.0 times pi below?

It's due to rounding error in the platform's math library.  You'll see 
the same results in most other languages that call into libm.

	<b


More information about the Haskell-Cafe mailing list