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


Groups > comp.lang.forth > #50627

Re: fatan2 2012

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: fatan2 2012
Date 2016-09-02 12:02 -0700
Organization A noiseless patient Spider
Message-ID <87poomnmzo.fsf@jester.gateway.pace.com> (permalink)
References <npdse1$1s5g$1@gioia.aioe.org> <2016Aug22.120058@mips.complang.tuwien.ac.at> <npgdmc$1pmf$1@gioia.aioe.org> <2016Aug23.131107@mips.complang.tuwien.ac.at> <nqc7s3$7gu$1@cherry.spenarnc.xs4all.nl>

Show all headers | View raw


albert@cherry.spenarnc.xs4all.nl (Albert van der Horst) writes:
>>|If y is +/-0 and x is < 0, +/-pi shall be returned.
>>(plus other specific cases).  I think that the order of the +/- is
>>significant, but am too lazy to look it up.
> It looks like a bug-compatibility with a stone-age mainframe.
> Furthermore it cannot be fullfilled because pi has no
> representation in the fp set of computers (!).

It looks more like a specification of the right thing to do with the
signs, than one saying pi's representation must be exact.  And it's
probably inspired by IEEE754 or something similar, which put some effort
into getting branch cuts consistent.  Old mainframes often got that
wrong.

Back to comp.lang.forth | Previous | Next — Previous 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