Hi, don't remember where I got it from: QNAN: Quiet Not A Number
SNAN: Signalled Not A Number Not A Number The value NaN (Not a Number) is used to represent a value that does not represent a real number. NaN's are represented by a bit pattern with an exponent of all 1s and a non-zero fraction. There are two categories of NaN: QNaN (Quiet NaN) and SNaN (Signalling NaN). A QNaN is a NaN with the most significant fraction bit set. QNaN's propagate freely through most arithmetic operations. These values pop out of an operation when the result is not mathematically defined. An SNaN is a NaN with the most significant fraction bit clear. It is used to signal an exception when used in operations. SNaN's can be handy to assign to uninitialized variables to trap premature usage. Semantically, QNaN's denote indeterminate operations, while SNaN's denote invalid operations. Hope it's of some use. Regards 2012/1/5 Nicholas Yue <[email protected]> > On 5/01/12 8:24 PM, Panupat Chongstitwattana wrote: > >> Hi all. >> >> I've ran into this value a couple times these last few months. The >> layout guys or animators would sometimes be unable to open an .ma file >> while the script editor spits out numerous lines of errors. >> >> Checking the files in text editor, I always found 1 or 2 instances of >> the "1.#IND" value. >> >> createNode transform -s -n "persp"; >> setAttr ".v" no; >> setAttr ".t" -type "double3" 1.#IND -1.#IND -1.#IND; >> > Hi Panupat, > > It's Windows way of displaying a IEEE NaN (Not a Number) > > > http://www.johndcook.com/IEEE_**exceptions_in_cpp.html<http://www.johndcook.com/IEEE_exceptions_in_cpp.html> > > There is probably some division by zero in the underlying code. > > Regards > > -- > Nicholas Yue > Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5 > Custom Dev - C++ porting, OSX, Linux, Windows > http://au.linkedin.com/in/**nicholasyue<http://au.linkedin.com/in/nicholasyue> > > > -- > view archives: > http://groups.google.com/**group/python_inside_maya<http://groups.google.com/group/python_inside_maya> > change your subscription settings: http://groups.google.com/** > group/python_inside_maya/**subscribe<http://groups.google.com/group/python_inside_maya/subscribe> > -- *Carlos Rico Adega *Maya Generalist* *------------------------------------- <http://www.vimeo.com/16765581> LinkedIn<http://www.linkedin.com/pub/carlos-rico/6/58/325> [email protected] -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
