[A83] Re: floating point errors?


[Prev][Next][Index][Thread]

[A83] Re: floating point errors?




>The way you draw lines for the function is to store the last point, then
>calc the new one, then connect the dots.  If the calculation for the new
>point is invalid, then it simply moves to the next one, but the previous
>point is still stored, so a line gets drawn between the last valid point
>and the next valid point.  This is why teachers hate the graphing calcs for
>looking at graphs involving tan(), the asymptotes (almost vertical lines)
>are drawn solid, so the graph looks wrong.

Then why does the function go up and down right before
the missing point? Maybe some illegal floating point
roundings (?roundings? => like 2.5647 -> 2.565) ??

(I'm not too sure it's called roundings, but the function
actually is call _round, so...)

      SUCKER [Pieter Van Nuffel]


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com