George Russell wrote: > > Julian Assange wrote: > > Once you are within a few UDP, the underlaying grainyness of the > > representation is going to get you, so that smoothe, monotonic line > > segment you have below, will look like an appalling zigzag at > > best. This is my point. Near the limits of precession, the error > > introduced by rounding is trivial compared to the error introduced by > > the precission itself. > No I disagree. If you plot sin(a+x) against x for very small values of > x it should at worst look something like a computer's attempt to pixellate > a straight line, EG for example > XX > X > XX > X > X > XX > X > XX > (blah blah) > the point being that this is a straight line with slope a bit less than > 1/3. Code to test this attached. Try (in Hugs) plotSin pi 100. You should a lot of fairly equal numbers.
- Re: rounding in haskell George Russell
- Re: rounding in haskell Lennart Augustsson
- Re: rounding in haskell Ian . Stark
- Re: rounding in haskell Jerzy Karczmarczuk
- Re: rounding in haskell George Russell
- Re: rounding in haskell Ian . Stark
- Re: rounding in haskell Jerzy Karczmarczuk
- Re: rounding in haskell Ronny Wichers Schreur
- Re: rounding in haskell Julian Assange
- Re: rounding in haskell George Russell
- Re: rounding in haskell George Russell
- Re: rounding in haskell John Hughes
- RE: rounding in haskell Frank A. Christoph
- RE: rounding in haskell Karlsson Kent - keka
- RE: rounding in haskell Karlsson Kent - keka
- Re: rounding in haskell David Lester
- RE: rounding in haskell Julian Seward (Intl Vendor)
- Re: rounding in haskell Jerzy Karczmarczuk
- RE: rounding in haskell Karlsson Kent - keka
- Re: rounding in haskell George Russell
- Re: rounding in haskell Koen Claessen