[A83] Re: floating point errors?


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

[A83] Re: floating point errors?





>Only pixels are calculated so, unless some pixel has 1 as value, that
>special case never occures. Also, you'll have to set the graphing mode
>to dots, otherwise, the calc connects two points. By the way, in dot
>mode you can see that it calculates pixel per pixel. There'll be only
>one point per pixel collumn.

Yes, I knew that, but why does it miscalculate the immediate
pixels before and after the 'missing point'? Normally it
should draw a straight line with that one pixel missing.
Like with zoom 4:decimal

      SUCKER [Pieter Van Nuffel]


> > To see the problem take the function:
> >
> > Y1=(X^3+4X-5)/(X^2-1)
> >
> > This is a special function where the value f(1) is not
> > valid. So the function just skippes a point. What you
> > have to do is to zoom in on that point (1 ; 3.5) a lot.
> > You'll see that the function is grabled before and after
> > that point, but it shouldn't. Is this a floating point
> > error? Or what's happening?
> >
> > Perhaps this is a little off-topic, but still...
> > It's about programming!





_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




Follow-Ups: