www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/09/17:57:17

Date: Wed, 09 Jun 1999 16:54:48 -0500
From: Eric Rudd <rudd AT cyberoptics DOT com>
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)
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990609113455 DOT 11862J-100000 AT is>
<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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019