Date: Wed, 09 Jun 1999 16:54:48 -0500 From: Eric Rudd Subject: Re: libm sources from cyberoptics To: djgpp-workers AT delorie DOT com Message-id: <375EE2A8.FDAF0475@cyberoptics.com> Organization: CyberOptics MIME-version: 1.0 X-Mailer: Mozilla 4.05 [en] (Win95; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <375EB600 DOT 979DA70D AT cyberoptics DOT com> <199906092042 DOT QAA09698 AT envy DOT delorie DOT com> Reply-To: djgpp-workers AT delorie DOT com DJ Delorie wrote: > Does anyone know under what circumstances the FPU will generate a -0 ? > I think that would be important in determining how we treat them. It gets generated by (-1.)*(+0.), for instance. > If they're only generated by underflow, for example, we should treat > them as small negative numbers. If they're only generated by division > by infinity, we should treat it as a regular zero. Etc. I hate to say this, but there are also signed infinities... -Eric Rudd