NAN in libgnomeui

Someone checked in some code for gnome-calculator.c which assigns the
constant NAN to some variables.
Under Solaris 2.5, such a constant does not exist. There are only some
defines which return true if a value is a NAN.
I don't know how to replace NAN with a portable equivalent.
Under Solaris, a value is a NAN when its exponent is 2047.


Tristan Tarrant                                
Il software e' come il sesso. E' meglio|Software is like sex. It's better
quando e' libero.                      |when it's free.
                                  Linus Torvalds

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]