Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: phdmn@gaia.phy.bris.ac.uk (Dave Newbold)
Subject: Math library question
Date: 1995/08/11	[thread overview]
Message-ID: <DD5wrx.G86@uns.bris.ac.uk> (raw)


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



             reply	other threads:[~1995-08-11  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-11  4:00 Dave Newbold [this message]
1995-08-30  4:00 ` Math library question Bill Gray
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox