Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #50379
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Paul Rubin <no.email@nospam.invalid> |
| Newsgroups | comp.lang.forth |
| Subject | Re: fatan2 2012 |
| Date | Sun, 21 Aug 2016 21:01:39 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 21 |
| Message-ID | <87shtxqwnw.fsf@jester.gateway.pace.com> (permalink) |
| References | <npdse1$1s5g$1@gioia.aioe.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="e3de301d7f270f19e44cbaddb3a92e97"; logging-data="8763"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198S+BHc600nQY6lG58sgHO" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| Cancel-Lock | sha1:D0+x32eyllmQNdE23jPwZOdRT7A= sha1:xjuXLJwNfKF9ftb3X3ZlQCml/GI= |
| Xref | csiph.com comp.lang.forth:50379 |
Show key headers only | View raw
"HAA" <someone@microsoft.com> writes:
> -0e 0e 0e f~ . 0 ok
> 0e -1e fatan2 fs. 3.14159265358979E0 ok
Looks like fatan2 is right and f~ is wrong.
> Then there is the reliance on the notorious F~ whose results can be
> right or wrong depending upon your expectations e.g.
64-bit gforth 0.7.0:
fvariable a ok
fvariable b ok
-0e a f! ok
0e b f! ok
a f@ b f@ f= . -1 ok
-0e f. -0. ok
a @ b @ .s <2> -9223372036854775808 0 ok
0 and -0 obviously have different bit patterns.
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
fatan2 2012 "HAA" <someone@microsoft.com> - 2016-08-22 13:44 +1000
Re: fatan2 2012 Paul Rubin <no.email@nospam.invalid> - 2016-08-21 21:01 -0700
Re: fatan2 2012 peter.m.falth@gmail.com - 2016-08-22 00:42 -0700
Re: fatan2 2012 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-22 10:00 +0000
Re: fatan2 2012 "HAA" <someone@microsoft.com> - 2016-08-23 12:51 +1000
Re: fatan2 2012 anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-08-23 11:11 +0000
Re: fatan2 2012 "HAA" <someone@microsoft.com> - 2016-08-25 02:16 +1000
Re: fatan2 2012 albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) - 2016-09-02 18:03 +0200
Re: fatan2 2012 Paul Rubin <no.email@nospam.invalid> - 2016-09-02 12:02 -0700
csiph-web