On Fri, Mar 4, 2011 at 7:27 AM, Przemek Klosowski <
przemek.klosow...@gmail.com> wrote:

> On 3/4/11, Igor Chudov <ichu...@gmail.com> wrote:
>
> > I re-wrote Andy's function to compare the absolute value of the diff, and
> > compare that to 1E-07. I know that this is crazy, ugly, and stupid. But
> it
> > works beautifully.
>
> NO, absolutely not stupid at all. This is in fact the only sane way of
> comparing floating point numbers, recommended in all numerical
> analysis textbooks.
>
>
Whils I kind of agree in general (I do numerical modeling too, for a
living), here we are essentially comparing a == a and it fails. See my
another post in this thread about GCC bug 323.

My concern with doing what I am doing, is that if I wanted the knee to move
at glacial speed, it would shut off.
But I know that I do not need it.


i
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to