From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,54c055a0e5ba387,start X-Google-Attributes: gidfee84,public From: phdmn@gaia.phy.bris.ac.uk (Dave Newbold) Subject: Math library question Date: 1995/08/11 Message-ID: #1/1 X-Deja-AN: 107978618 sender: usenet@uns.bris.ac.uk (Usenet news owner) organization: Bristol High Energy Physics reply-to: dave.newbold@bristol.ac.uk newsgroups: comp.unix.osf.osf1 Hi, Does anybody know why the following happens, when using the fp_classf routine under OSF1/3.0? (The 31 isn't special - just a small integer) fp_classf((int)31)==FP_POS_ZERO The (int)31 should be equivalent to a denormalised floating point number, or at least a NaN... not a zero, as far as I can see. Is this a bug, or am I overlooking something? TIA, _Dave_ ------------------------------------------------------------------------------ The opinions expressed here are not necessarily those of any other person object or organisation. So don't sue them. dave.newbold@bristol.ac.uk / dmn@vsnhd1.cern.ch / newbold@vxcern.cern.ch