*BSD News Article 12270


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!manuel.anu.edu.au!munnari.oz.au!metro!ipso!runxtsa!bde
From: bde@runx.oz.au (Bruce Evans)
Subject: Re: enquire.c in GCC2.3.3
Message-ID: <1993Mar4.095439.5119@runx.oz.au>
Organization: RUNX Un*x Timeshare.  Sydney, Australia.
References: <C3At1D.Bpw@news.cso.uiuc.edu>
Date: Thu, 4 Mar 93 09:54:39 GMT
Lines: 13

In article <C3At1D.Bpw@news.cso.uiuc.edu> rkb55989@uxa.cso.uiuc.edu (Rafal) writes:

>I get an "unexpected trap" when the program starts to report FLOAT Properties.
>The program says something like "** Program got loss of precision trap!"

The precision trap may be fixed by changing the initial npx control word
(__INITIAL_NPX_CW__?) in <machine/npx.h> to 0x1272 and recompiling the
kernel.

Enquire may still give inaccurate results.  If it keeps failing, ignore it
and delete gcc's float.h.
-- 
Bruce Evans  bde%runx.oz.au@ips.oz.au