Swaminathan N. (swami++at++evl.uic.edu)
Thu, 27 Mar 1997 16:05:06 -0600 (CST)
> Performers:
>
> I need to verify whether or not position and orientation data is valid;
> valid in the sense of being a valid number. Sometimes I receive data
> (via ethernet packets) that is NaN, "not a numer" and I need to make sure
> that it IS a valid floating point number before using it. Are there any
> routines already available that check for valid floating point
> representation?
>
> Thanks much.
>
You could try isnan from <ieeefp.h>. Not portable though, however, that
shouldnt really bother you :-)
Swami
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
v Swaminathan Narayanan ^
v swami++at++evl.uic.edu ^
v Office: 996-3002 ^
v Home: 850-2726 ^
v http://www.evl.uic.edu/swami ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:58 PDT