[Haskell-cafe] Re: Debugging Newton's method for square roots
jon.fairbairn at cl.cam.ac.uk
Sun Oct 15 11:13:42 EDT 2006
> Vraj Mohan <r.vrajmohan at gmail.com> wrote:
> > (The equivalent code is well-behaved on MIT Scheme)
> Is it? Is there equivalent code to “my_sqrt :: Float ->
> Float”? (that might be pertinent).
By which I mean "HINT". (And one of the places to look for
bugs is where you have hand coded a constant without due
consideration of the implications).
Jón Fairbairn Jon.Fairbairn at cl.cam.ac.uk
http://www.chaos.org.uk/~jf/Stuff-I-dont-want.html (updated 2006-09-13)
More information about the Haskell-Cafe