> Date: Thu, 30 Jan 2003 17:44:48 -0500
> From: Aleksandar Donev <[log in to unmask]>
> Hello,
>
> I am observing different behaviour with two different compilers with
> regard to a statement such as
>
> IF(real_number>0.0) THEN
>
> ELSE
>
> END IF
>
> It seems that the two compilers have different meaning to ">" in this
> case (i.e. one executes one branch a lot more often then the other for
> the same physical simulation).
How can you be sure without hard facts?
Even a smidgeon greater than zero (10-4000) should return >0.
You can easily run a test, using the TINY function.
> Can someone help me understand what is happening here. I think this has
> something to do with IEEE, but am not sure.
>
> Thanks,
> Aleksandar
>
> --
> __________________________________
> Aleksandar Donev
> Complex Materials Theory Group (http://cherrypit.princeton.edu/)
> Princeton Materials Institute & Program in Applied and Computational Mathematics
> @ Princeton University
> Address:
> 419 Bowen Hall, 70 Prospect Avenue
> Princeton University
> Princeton, NJ 08540-5211
> E-mail: [log in to unmask]
> WWW: http://atom.princeton.edu/donev
> Phone: (609) 258-2775
> Fax: (609) 258-6878
> __________________________________
>
|