On Wed, Mar 20, 2002 at 10:21:20AM +0900, Bruce Ingalls wrote: > Cannot Ruby handle this with exceptions? > Why doesn't Ruby define NaN (Not a Number), as does ANSI C++? > I recall that C++ also has Undefined. NaN only applies to floats and doubles; it does not apply to any integer types. Paul