Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #50379

Re: fatan2 2012

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: fatan2 2012
Date 2016-08-21 21:01 -0700
Organization A noiseless patient Spider
Message-ID <87shtxqwnw.fsf@jester.gateway.pace.com> (permalink)
References <npdse1$1s5g$1@gioia.aioe.org>

Show all headers | 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


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