gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -infinity and REPRESENT


From: Bernd Paysan
Subject: Re: -infinity and REPRESENT
Date: Mon, 04 May 2020 21:53:59 +0200

Am Montag, 4. Mai 2020, 20:54:17 CEST schrieb address@hidden:
> On 2020-05-04 17:24, Anton Ertl wrote:
> > I just re-implemented REPRESENT.
> > 
> > One issue is how to deal with -infinity (e.g., the result of -1e 0e
> > f/).
> > Previously Gforth 0.7.2+glibc produced "-inf" and f1=0 (positive),
> > f2=0 (not valid); other libc implementations might lead to different
> > results.
> 
> Sorry, what are f1 and f2?

flag1 is sign (-1 when negative), flag2 is valid (0 when invalid).

-- 
Bernd Paysan
"If you want it done right, you have to do it yourself"
net2o id: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ*
https://net2o.de/

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]