From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,54c055a0e5ba387 X-Google-Attributes: gidfee84,public From: Bill Gray Subject: Re: Math library question Date: 1995/08/30 Message-ID: <4225en$bli@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 109153255 references: to: dave.newbold@bristol.ac.uk content-type: text/plain; charset=us-ascii organization: field x-url: news:DD5wrx.G86@uns.bris.ac.uk mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.2 alpha) re: fp_classf((int)31)==FP_POS_ZERO Fp_classf expects a float and there probably was no prototype. Try something like: int i = 31; fp_classf( *(float *)&i ); -- Bill Gray gray@afire.zko.dec.com (Not speaking for Digital)