From: GOTO Kentaro Date: 2004-10-16T04:02:31+09:00 Subject: Re: "nan".to_f ? Hi, In message Re: "nan".to_f ? on Sat, 16 Oct 2004 03:44:14 +0900, Yukihiro Matsumoto wrote: > |When we are talking about Ruby, NaN means IEEE 754's NaN, isn't it? :) > > C99 defines isnan() and isinf(). I'm not sure C99 assumes IEEE 754. That is very IEEE 754 support. ISO/IEC 9899:1999 Annex F says: F.1 Introduction This annex specifies C language support for the IEC 60559 floating-point standard. The IEC 60559 floating-point standard is specifically Binary floating-point arithmetic for microprocessor systems, second edition (IEC 60559:1989), previously designated IEC 559:1989 and as IEEE Standard for Binary Floating-Point Arithmetic (ANSI/IEEE 754-1985). ... Gotoken