Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer


devel / comp.lang.c / Re: Radians Or Degrees?

SubjectAuthor
* Radians Or Degrees?Lawrence D'Oliveiro
+* Re: Radians Or Degrees?James Kuyper
|`* Re: Radians Or Degrees?Michael S
| `* Re: Radians Or Degrees?Lawrence D'Oliveiro
|  `* Re: Radians Or Degrees?Steven G. Kargl
|   `* Re: Radians Or Degrees?Lawrence D'Oliveiro
|    `* Re: Radians Or Degrees?Steven G. Kargl
|     `* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      +* Re: Radians Or Degrees?Michael S
|      |+- Re: Radians Or Degrees?Lawrence D'Oliveiro
|      |+* Re: Radians Or Degrees?MitchAlsup1
|      ||`* Re: Radians Or Degrees?Steven G. Kargl
|      || +* Re: Radians Or Degrees?Chris M. Thomasson
|      || |`* Re: Radians Or Degrees?Chris M. Thomasson
|      || | `* Re: Radians Or Degrees?MitchAlsup1
|      || |  `* Re: Radians Or Degrees?Chris M. Thomasson
|      || |   `* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      || |    `* Re: Radians Or Degrees?Chris M. Thomasson
|      || |     `* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      || |      `* Re: Radians Or Degrees?Chris M. Thomasson
|      || |       +- Re: Radians Or Degrees?Lawrence D'Oliveiro
|      || |       `- Re: Radians Or Degrees?Chris M. Thomasson
|      || +* Re: Radians Or Degrees?MitchAlsup1
|      || |`* Re: Radians Or Degrees?Terje Mathisen
|      || | `* Re: Radians Or Degrees?Michael S
|      || |  +* Re: Radians Or Degrees?MitchAlsup1
|      || |  |+* Re: Radians Or Degrees?MitchAlsup1
|      || |  ||`- Re: Radians Or Degrees?Terje Mathisen
|      || |  |+* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      || |  ||+- Re: Radians Or Degrees?Chris M. Thomasson
|      || |  ||`* Re: Radians Or Degrees?MitchAlsup1
|      || |  || `* Re: Radians Or Degrees?Chris M. Thomasson
|      || |  ||  `- Re: Radians Or Degrees?Chris M. Thomasson
|      || |  |`- Re: Radians Or Degrees?Michael S
|      || |  +* Re: Radians Or Degrees?Terje Mathisen
|      || |  |+* Re: Radians Or Degrees?Michael S
|      || |  ||`* Re: Radians Or Degrees?MitchAlsup1
|      || |  || `- Re: Radians Or Degrees?Terje Mathisen
|      || |  |`* Re: Radians Or Degrees?Chris M. Thomasson
|      || |  | +* Re: Radians Or Degrees?Chris M. Thomasson
|      || |  | |`- Re: Radians Or Degrees?Chris M. Thomasson
|      || |  | +* Re: Radians Or Degrees?Keith Thompson
|      || |  | |+* Re: Radians Or Degrees?Chris M. Thomasson
|      || |  | ||`* Re: Radians Or Degrees?Chris M. Thomasson
|      || |  | || `* Re: Radians Or Degrees?Keith Thompson
|      || |  | ||  `* Re: Radians Or Degrees?Chris M. Thomasson
|      || |  | ||   `- Re: Radians Or Degrees?Chris M. Thomasson
|      || |  | |`* Re: Radians Or Degrees?MitchAlsup1
|      || |  | | `* Re: Radians Or Degrees?Michael S
|      || |  | |  `* Re: Radians Or Degrees?MitchAlsup1
|      || |  | |   +- Re: Radians Or Degrees?Scott Lurndal
|      || |  | |   +- Re: Radians Or Degrees?Michael S
|      || |  | |   `* Re: Radians Or Degrees?Keith Thompson
|      || |  | |    +* Re: Radians Or Degrees?bart
|      || |  | |    |`* Re: Radians Or Degrees?Keith Thompson
|      || |  | |    | `* Re: Radians Or Degrees?bart
|      || |  | |    |  `* Re: Radians Or Degrees?Keith Thompson
|      || |  | |    |   `- Re: Radians Or Degrees?David Brown
|      || |  | |    `* Re: Radians Or Degrees?Michael S
|      || |  | |     +- Re: Radians Or Degrees?Michael S
|      || |  | |     `* Re: Radians Or Degrees?bart
|      || |  | |      `- Re: Radians Or Degrees?Michael S
|      || |  | `- Re: Radians Or Degrees?Chris M. Thomasson
|      || |  `* Re: Radians Or Degrees?Stefan Monnier
|      || |   `* Re: Radians Or Degrees?MitchAlsup1
|      || |    `* Re: Radians Or Degrees?Stefan Monnier
|      || |     +* Re: Radians Or Degrees?Michael S
|      || |     |+* Re: Radians Or Degrees?Stefan Monnier
|      || |     ||`* Re: Radians Or Degrees?MitchAlsup1
|      || |     || `* Re: Radians Or Degrees?Terje Mathisen
|      || |     ||  `* Re: Radians Or Degrees?Michael S
|      || |     ||   +- Re: Radians Or Degrees?MitchAlsup1
|      || |     ||   `- Re: Radians Or Degrees?Terje Mathisen
|      || |     |+* Re: Radians Or Degrees?Steven G. Kargl
|      || |     ||`- Re: Radians Or Degrees?MitchAlsup1
|      || |     |`* Re: Radians Or Degrees?MitchAlsup1
|      || |     | `- Re: Radians Or Degrees?Michael S
|      || |     +* Re: Radians Or Degrees?MitchAlsup1
|      || |     |`- Re: Radians Or Degrees?Stefan Monnier
|      || |     `- Re: Radians Or Degrees?Terje Mathisen
|      || `* Re: Radians Or Degrees?Michael S
|      ||  `* Re: Radians Or Degrees?MitchAlsup1
|      ||   `* Re: Radians Or Degrees?Steven G. Kargl
|      ||    +* Re: Radians Or Degrees?MitchAlsup1
|      ||    |+* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      ||    ||`* Re: Radians Or Degrees?Steven G. Kargl
|      ||    || +* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      ||    || |`* Re: Radians Or Degrees?Steven G. Kargl
|      ||    || | `- Re: Radians Or Degrees?Kaz Kylheku
|      ||    || `* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      ||    ||  `* Re: Radians Or Degrees?Steven G. Kargl
|      ||    ||   `- Re: Radians Or Degrees?MitchAlsup1
|      ||    |`- Re: Radians Or Degrees?Steven G. Kargl
|      ||    +* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      ||    |+* Re: Radians Or Degrees?Ben Bacarisse
|      ||    ||`* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      ||    || `* Re: Radians Or Degrees?Ben Bacarisse
|      ||    ||  +* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      ||    ||  |`* Re: Radians Or Degrees?Ben Bacarisse
|      ||    ||  | +* Re: Radians Or Degrees?Kaz Kylheku
|      ||    ||  | |`* Re: Radians Or Degrees?Ben Bacarisse
|      ||    ||  | `* Re: Radians Or Degrees?Lawrence D'Oliveiro
|      ||    ||  `- Re: Radians Or Degrees?Tim Rentsch
|      ||    |+- Re: Radians Or Degrees?Kaz Kylheku
|      ||    |`* Re: Radians Or Degrees?James Kuyper
|      ||    `* Re: Radians Or Degrees?Terje Mathisen
|      |`- Re: Radians Or Degrees?Terje Mathisen
|      `* Re: Radians Or Degrees?Steven G. Kargl
+* Re: Radians Or Degrees?fir
+* Re: Radians Or Degrees?Malcolm McLean
+- Re: Radians Or Degrees?David Brown
`* Re: Radians Or Degrees?Blue-Maned_Hawk

Pages:1234567
Re: Radians Or Degrees?

<urj01p$2olmn$4@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51520&group=comp.lang.c#51520

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Mon, 26 Feb 2024 21:32:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <urj01p$2olmn$4@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <urgham$24j63$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 21:32:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ea15bd06c2061660f1136ed37eb9a688";
logging-data="2905815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ha3wB0ZBbaHuVOLSiPg5r"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:1mSkCtnXCqwERXCs8ZoIIkO4YB0=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 21:32 UTC

On Sun, 25 Feb 2024 23:09:10 +0000, bart wrote:

> 30 can't be evenly divided by 4, 8, 9, 12, 18 or 20 for a start.

Those fractions can be exactly represented in base-30.

Re: Radians Or Degrees?

<874jdux5ma.fsf@nosuchdomain.example.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51523&group=comp.lang.c#51523

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Mon, 26 Feb 2024 13:44:45 -0800
Organization: None to speak of
Lines: 29
Message-ID: <874jdux5ma.fsf@nosuchdomain.example.com>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <87a5no9nze.fsf@bsb.me.uk>
<urivrk$2olmn$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="9466d30cc4509f5291c1ad69a98237cd";
logging-data="2905086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WWBrw2LDxvYPu9uN1elVl"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:Lq8+ldeQ6zBbXmaTZdq0cMTnrb4=
sha1:9JlFUK5yL4aIbtid7ChuigryVXk=
 by: Keith Thompson - Mon, 26 Feb 2024 21:44 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Sun, 25 Feb 2024 22:29:41 +0000, Ben Bacarisse wrote:
>> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>>> On Sun, 25 Feb 2024 13:08:53 +0000, Richard Harnden wrote:
>>>> It's 360 because it divides by {lots}, nothing to do with days in a
>>>> year.
>>>
>>> And you can get all those same divisors with 30.
>>
>> You are confusing unique prime factors with divisors.
>
> No, I’m not. Once you have one occurrence of a prime factor, you get the
> ability to exactly represent fractions involving all powers of that
> factor, and all products of that factor with other factors.

It would have saved some time if you had said that in the first place,
rather than claiming that "you can get all those same divisors with 30".

I suppose that you meant that 1/N where N is a divisor of 360 can be
represented in base 30 without repeating. But the obvious meaning of
what you wrote was that all divisors of 360 are divisors of 30, and I'm
not the only one who thought so.

Either way, I'm not sure why you thought it was a point worth making.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: Radians Or Degrees?

<urj58g$2pp43$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51527&group=comp.lang.c#51527

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: bc@freeuk.com (bart)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Mon, 26 Feb 2024 23:01:35 +0000
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <urj58g$2pp43$1@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <urgham$24j63$1@dont-email.me>
<urj01p$2olmn$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 26 Feb 2024 23:01:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="20b1b8f346f60418f3ea58d335a2a8b5";
logging-data="2942083"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19plZYI+SHWgfpqUDtC0ur4jn4nYLmkOG4="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:Qo+W1lBRTCj0QcKeCdaxgoNeagg=
Content-Language: en-GB
In-Reply-To: <urj01p$2olmn$4@dont-email.me>
 by: bart - Mon, 26 Feb 2024 23:01 UTC

On 26/02/2024 21:32, Lawrence D'Oliveiro wrote:
> On Sun, 25 Feb 2024 23:09:10 +0000, bart wrote:
>
>> 30 can't be evenly divided by 4, 8, 9, 12, 18 or 20 for a start.
>
> Those fractions can be exactly represented in base-30.

I've no idea how that would work, or how it would be anything other than
100 times harder and more impractical than just using radians instead of
degrees.

Re: Radians Or Degrees?

<urj62i$2puef$3@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51528&group=comp.lang.c#51528

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Mon, 26 Feb 2024 23:15:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <urj62i$2puef$3@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <87a5no9nze.fsf@bsb.me.uk>
<urivrk$2olmn$2@dont-email.me> <874jdux5ma.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Feb 2024 23:15:31 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d339ad4b21c64d41c58c7c072f1b4d54";
logging-data="2947535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19GwMtoUw5axzqfPzwmlexY"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:MqkGk/4x9ce/CCaB7BMbC1vdmFE=
 by: Lawrence D'Oliv - Mon, 26 Feb 2024 23:15 UTC

On Mon, 26 Feb 2024 13:44:45 -0800, Keith Thompson wrote:

> It would have saved some time if you had said that in the first place,
> rather than claiming that "you can get all those same divisors with 30".

Why, what else could you possibly have thought I meant? Dividing by things
is precisely what fractions are all about.

Re: Radians Or Degrees?

<87zfvmvkom.fsf@nosuchdomain.example.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51532&group=comp.lang.c#51532

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Mon, 26 Feb 2024 16:02:17 -0800
Organization: None to speak of
Lines: 28
Message-ID: <87zfvmvkom.fsf@nosuchdomain.example.com>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <87a5no9nze.fsf@bsb.me.uk>
<urivrk$2olmn$2@dont-email.me>
<874jdux5ma.fsf@nosuchdomain.example.com>
<urj62i$2puef$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="e411e02173c5727b001dab2051103785";
logging-data="2965035"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Gbtj0B+B7kRHYiGl0+ffZ"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:ipU7lDH/im5NMjmq5TgsXfLD9L8=
sha1:JKT4FEZD5JzO9fB/LuPCgkKvEeY=
 by: Keith Thompson - Tue, 27 Feb 2024 00:02 UTC

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Mon, 26 Feb 2024 13:44:45 -0800, Keith Thompson wrote:
>> It would have saved some time if you had said that in the first place,
>> rather than claiming that "you can get all those same divisors with 30".
>
> Why, what else could you possibly have thought I meant? Dividing by things
> is precisely what fractions are all about.

I took your statement that "you can get all those same divisors with 30"
to mean that you thought that 30 has all the same divisors that 360 has.
It's obvious that, for example, 180 is a divisor of 360 and not of 30,
but I thought you might have thought that all the divisors of 360 up to
30 are also divisors of 30, which is also wrong but not quite as
obviously so.

You've now clarified that that's not what you meant, but I'm just one of
several people who interpreted your original statement the same way I
did. Given that, consider the possibility that your statement was not
as clear as you thought it was.

Since it wasn't an important or relevant point in the first place, I'm
going to drop it, and I suggest you do the same. Nobody is going to
start using base 30 anyway.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: Radians Or Degrees?

<urjbur$2r3a4$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51533&group=comp.lang.c#51533

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Tue, 27 Feb 2024 00:55:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <urjbur$2r3a4$2@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <87a5no9nze.fsf@bsb.me.uk>
<urivrk$2olmn$2@dont-email.me> <874jdux5ma.fsf@nosuchdomain.example.com>
<urj62i$2puef$3@dont-email.me> <87zfvmvkom.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Feb 2024 00:55:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d339ad4b21c64d41c58c7c072f1b4d54";
logging-data="2985284"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BcKviLXzmvNZBkTBV4Vpj"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:A9TQNC9vuWbNqLa2ZfOOzkjzGwo=
 by: Lawrence D'Oliv - Tue, 27 Feb 2024 00:55 UTC

On Mon, 26 Feb 2024 16:02:17 -0800, Keith Thompson wrote:

> Since it wasn't an important or relevant point in the first place, I'm
> going to drop it, and I suggest you do the same.

You seem to do that a lot.

Re: Radians Or Degrees?

<urk7uj$341pt$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51542&group=comp.lang.c#51542

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Tue, 27 Feb 2024 09:53:38 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <urk7uj$341pt$1@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <87a5no9nze.fsf@bsb.me.uk>
<urivrk$2olmn$2@dont-email.me> <874jdux5ma.fsf@nosuchdomain.example.com>
<urj62i$2puef$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 27 Feb 2024 08:53:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b013b32b0ae31855296b19afd591ff2";
logging-data="3278653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/3hWpNsbZhJ/JwLx22Zbjo/PmAe8pT0bQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:KFW63h4DgpeIVPnKxFShYoQwQjg=
In-Reply-To: <urj62i$2puef$3@dont-email.me>
Content-Language: en-GB
 by: David Brown - Tue, 27 Feb 2024 08:53 UTC

On 27/02/2024 00:15, Lawrence D'Oliveiro wrote:
> On Mon, 26 Feb 2024 13:44:45 -0800, Keith Thompson wrote:
>
>> It would have saved some time if you had said that in the first place,
>> rather than claiming that "you can get all those same divisors with 30".
>
> Why, what else could you possibly have thought I meant? Dividing by things
> is precisely what fractions are all about.

I, for one, thought you were mistaken and confused. It seemed to be the
more logical explanation (and less unkind than assuming you are trolling
or intentionally trying to cause confusion), since everyone else was
clearly talking about divisors as the term is used in mathematics. The
"divisors" of an integer "N" are integers that divide wholly into N. 4
is a divisor of 360, but it is not a divisor of 30. It is /that/ simple.

No one is particularly interested in decimals here, much less interested
in some kind of base 30 decimal (which is what you need to make your
claims correct). And the context was historical - why the Babylonians
and Sumerians had 360 degrees in a circle. They did not have radix
points of any kind.

Re: Radians Or Degrees?

<urk88s$341pt$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=51543&group=comp.lang.c#51543

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: david.brown@hesbynett.no (David Brown)
Newsgroups: comp.lang.c
Subject: Re: Radians Or Degrees?
Date: Tue, 27 Feb 2024 09:59:08 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <urk88s$341pt$2@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me>
<pan$d0f42$eeb000fb$9b95dafc$a5a80129@invalid.invalid>
<ur76he$3qbhl$2@dont-email.me> <ur87th$1rr1$2@dont-email.me>
<urf7nn$1qi2u$1@dont-email.me> <urfe56$1s0q9$1@dont-email.me>
<urgeho$240t1$1@dont-email.me> <urgham$24j63$1@dont-email.me>
<urj01p$2olmn$4@dont-email.me> <urj58g$2pp43$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 27 Feb 2024 08:59:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="5b013b32b0ae31855296b19afd591ff2";
logging-data="3278653"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/piZ5aHcqjQ4TxK2o/AuF03+TFDbkoxlQ="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.11.0
Cancel-Lock: sha1:pO/LkacWPD1G1wHLwOnWg+DqJao=
In-Reply-To: <urj58g$2pp43$1@dont-email.me>
Content-Language: en-GB
 by: David Brown - Tue, 27 Feb 2024 08:59 UTC

On 27/02/2024 00:01, bart wrote:
> On 26/02/2024 21:32, Lawrence D'Oliveiro wrote:
>> On Sun, 25 Feb 2024 23:09:10 +0000, bart wrote:
>>
>>> 30 can't be evenly divided by 4, 8, 9, 12, 18 or 20 for a start.
>>
>> Those fractions can be exactly represented in base-30.
>
> I've no idea how that would work, or how it would be anything other than
> 100 times harder and more impractical than just using radians instead of
> degrees.

I know exactly how it would work, but you are absolutely correct that it
would be harder and far less practical than using 360 degrees, and
without the mathematical features of radians.

Re: Radians Or Degrees?

<20240314112655.000011f8@yahoo.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52059&group=comp.lang.c#52059

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5chosen@yahoo.com (Michael S)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Thu, 14 Mar 2024 11:26:55 +0200
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <20240314112655.000011f8@yahoo.com>
References: <ur5trn$3d64t$1@dont-email.me>
<ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com>
<ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me>
<ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me>
<ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Injection-Info: dont-email.me; posting-host="5c5cd9e25eab93927139eb22892a80cb";
logging-data="1592818"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18eRyWvWEPCnIasFWWVmEDbLPKwQvFxTzc="
Cancel-Lock: sha1:/F9PPwVOCeIkIk8byAqQOvEAusQ=
X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32)
 by: Michael S - Thu, 14 Mar 2024 09:26 UTC

On Fri, 23 Feb 2024 11:10:00 +0100
Terje Mathisen <terje.mathisen@tmsw.no> wrote:

> MitchAlsup1 wrote:
> > Steven G. Kargl wrote:
> >> Agreed a programmer should use what is required by the problem
> >> that they are solving.  I'll note that SW implementations have
> >> their sets of tricks (e.g., use of double-double arithmetic to
> >> achieve double precision).
> >
> > To get near IEEE desired precision, one HAS TO use more than 754
> > precision.
>
> There are groups who have shown that exactly rounded trancendental
> functions are in fact achievable with maybe 3X reduced performance.
>

At which cost in tables sizes?

> There is a suggestion on the table to make that a (probably optional
> imho) feature for an upcoming ieee754 revision.
>
> Terje
>

The critical point here is definition of what considered exact. If
'exact' is measured only on y side of y=foo(x), disregarding
possible imprecision on the x side then you are very likely to end up
with results that are slower to calculate, but not at all more useful
from point of view of engineer or physicist. Exactly like Payne-Hanek
or Mitch's equivalent of Payne-Hanek.

The definition of 'exact' should be:
For any finite-precision function foo(x) lets designate the same
mathematical function calculated with infinite precision as Foo(x).
Let's designate an operation of rounding of infinite-precision number to
desired finite precision as Rnd(). Rounding is done in to-nearest mode.
Unlike in the case of basic operations, ties are allowed to be broken in
any direction.
The result of y=foo(x) for finite-precision number x considered
exact if *at least one* two conditions is true:
(1=Y-clause) Rnd(Foo(x)) == y
(2=X-clause) There exist an infinite precision number X for which
both Foo(X) == y and Rnd(X) == x.

As follows from the (2), it is possible and not uncommon that more
than one finite-precision number y is accepted exact result of foo(x).

If Committee omits the 2nd clause then the whole proposition will be not
just not useful, but harmful.

Re: Radians Or Degrees?

<9fcb5c6dc0bc30fadff42be770fdb896@www.novabbs.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52060&group=comp.lang.c#52060

  copy link   Newsgroups: comp.lang.c comp.arch
Date: Thu, 14 Mar 2024 17:15:10 +0000
Subject: Re: Radians Or Degrees?
From: mitchalsup@aol.com (MitchAlsup1)
Newsgroups: comp.lang.c,comp.arch
X-Rslight-Site: $2y$10$5Sy4zvy/ouhFqz3M0Cz7RO86T/jRVOurmGdqe7RWCh/jvHEc/jmGO
X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me> <20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me> <ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me> <ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me> <20240222233838.0000572f@yahoo.com> <3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org> <ur8nud$4n1r$1@dont-email.me> <20240223143250.000012a8@yahoo.com> <59454a79216ece74ac3fee0e00473357@www.novabbs.org> <uravp3$nl44$1@dont-email.me> <9862882e1badcd541491098b47c61802@www.novabbs.org> <urb6qn$phho$2@dont-email.me> <urbpps$10mal$1@dont-email.me> <urbvdd$11l69$1@dont-email.me> <urc1f6$11u41$1@dont-email.me>
Organization: Rocksolid Light
Message-ID: <9fcb5c6dc0bc30fadff42be770fdb896@www.novabbs.org>
 by: MitchAlsup1 - Thu, 14 Mar 2024 17:15 UTC

Steven G. Kargl wrote:

> sin(x) is not sinpi(x). The conversion factor that you're missing
> is M_PI as in sinpi(x) = sin(M_PI*x).

When I faced this kind of accuracy/precision problem in my HW transcendentals,

To get a sufficiently correct reduced argument I had to multiply the fraction
of x by a 2/pi number selected such that the HoB was aligned to 2 (quadrant)
and the multiplied result had 51+53 bits of precision so that up to 51 leading
bits of the reduced argument (after the quadrant bits) could be skipped if 0.
This required 3 uses of the multiplier tree one produced the leading bits::

Lead bits |/
Middle bits / /
trail bits /|

which were arranged |/ /| into a single 104 bit (minimum) product. My current
implementation uses 128 bits. And my polynomial evaluation uses 58-bit argu-
ments (min, 64-bit current) at each iteration. And I still only get 0.502
(58-bit:: 0.5002 64-bit) precision.

Payne and Hanek argument reduction--because it does not have access to the
intermediate bits, needs 4 multiplies instead of 2 and very careful arithmetic
to preserve accuracy. I can do this in 2 trips through the multiplier array
(patented)

So, I used 159-bits of 2/pi in 2 multiplies over 2 trips through the array
and get perfect argument (DP) reduction in 4 cycles. Payne ad Hanek use 256-
bits of DP FP operands and 30+ instruction to do the same thing.

My multiplier tree is cut into 2 sections (just like one would do for dual SP)
but here I feed the top 2/pi bits into the left hand side and the bottom 2/pi
bits into the right hand side so both get computed simultaneously; the subsequent
cycle multiplies by the middle bits of 2/pi. The 2/pi table is indexed by exponent.

Re: Radians Or Degrees?

<a926c92f8e95f80bed61403c3676a684@www.novabbs.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52062&group=comp.lang.c#52062

  copy link   Newsgroups: comp.lang.c comp.arch
Date: Thu, 14 Mar 2024 17:34:57 +0000
Subject: Re: Radians Or Degrees?
From: mitchalsup@aol.com (MitchAlsup1)
Newsgroups: comp.lang.c,comp.arch
X-Rslight-Site: $2y$10$A8RViJg36JR0DVOw2DglWegB7p5oF0CMrMKIIK7thndocNcbdhaKe
X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me> <20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me> <ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me> <ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me> <20240222233838.0000572f@yahoo.com> <3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org> <ur8nud$4n1r$1@dont-email.me> <936a852388e7e4414cb7e529da7095ea@www.novabbs.org> <ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
Organization: Rocksolid Light
Message-ID: <a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
 by: MitchAlsup1 - Thu, 14 Mar 2024 17:34 UTC

Michael S wrote:

> On Fri, 23 Feb 2024 11:10:00 +0100
> Terje Mathisen <terje.mathisen@tmsw.no> wrote:

>> MitchAlsup1 wrote:
>> > Steven G. Kargl wrote:
>> >> Agreed a programmer should use what is required by the problem
>> >> that they are solving.  I'll note that SW implementations have
>> >> their sets of tricks (e.g., use of double-double arithmetic to
>> >> achieve double precision).
>> >
>> > To get near IEEE desired precision, one HAS TO use more than 754
>> > precision.
>>
>> There are groups who have shown that exactly rounded trancendental
>> functions are in fact achievable with maybe 3X reduced performance.
>>

> At which cost in tables sizes?

>> There is a suggestion on the table to make that a (probably optional
>> imho) feature for an upcoming ieee754 revision.
>>
>> Terje
>>

> The critical point here is definition of what considered exact. If
> 'exact' is measured only on y side of y=foo(x), disregarding
> possible imprecision on the x side then you are very likely to end up
> with results that are slower to calculate, but not at all more useful
> from point of view of engineer or physicist. Exactly like Payne-Hanek
> or Mitch's equivalent of Payne-Hanek.

> The definition of 'exact' should be:
> For any finite-precision function foo(x) lets designate the same
> mathematical function calculated with infinite precision as Foo(x).
> Let's designate an operation of rounding of infinite-precision number to
> desired finite precision as Rnd(). Rounding is done in to-nearest mode.
> Unlike in the case of basic operations, ties are allowed to be broken in
> any direction.
> The result of y=foo(x) for finite-precision number x considered
> exact if *at least one* two conditions is true:
> (1=Y-clause) Rnd(Foo(x)) == y
> (2=X-clause) There exist an infinite precision number X for which
> both Foo(X) == y and Rnd(X) == x.

In the second clause:: are we guaranteed that RND(Foo(X))= Y ??

> As follows from the (2), it is possible and not uncommon that more
> than one finite-precision number y is accepted exact result of foo(x).

> If Committee omits the 2nd clause then the whole proposition will be not
> just not useful, but harmful.

An interesting side effect of greater intermediate precision is the lack
of need to round prior to the final result. Thus, my sin(x) over its
entire calculation suffers exactly 1 rounding. Payne & Hanek does not
have this prperty.

Re: Radians Or Degrees?

<618048a8fb3a5342f6068be344e8f4ac@www.novabbs.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52063&group=comp.lang.c#52063

  copy link   Newsgroups: comp.lang.c comp.arch
Date: Thu, 14 Mar 2024 19:48:26 +0000
Subject: Re: Radians Or Degrees?
From: mitchalsup@aol.com (MitchAlsup1)
Newsgroups: comp.lang.c,comp.arch
X-Rslight-Site: $2y$10$y5utCBLtsFVOgz2xh.GM/.EwczjkkFghxmcA4zp2G7StVTMB0R8By
X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me> <20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me> <ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me> <ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me> <20240222233838.0000572f@yahoo.com> <3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org> <ur8nud$4n1r$1@dont-email.me> <936a852388e7e4414cb7e529da7095ea@www.novabbs.org> <ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com> <a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
Organization: Rocksolid Light
Message-ID: <618048a8fb3a5342f6068be344e8f4ac@www.novabbs.org>
 by: MitchAlsup1 - Thu, 14 Mar 2024 19:48 UTC

And thirdly::

Let us postulate that the reduced argument r is indeed calculated with 0.5ULP
error.

What makes you think you can calculate the polynomial without introducing
any more error ??

Re: Radians Or Degrees?

<usvmpn$1r2h3$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52064&group=comp.lang.c#52064

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Thu, 14 Mar 2024 20:30:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <usvmpn$1r2h3$1@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Mar 2024 20:30:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8a2351749b4eebd2a62c741e1ddb0aa2";
logging-data="1935907"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/lFmQ9zexhcGxkcWYHx/eL"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:NJSk5SvarLGgya9YEYwgBaTN91U=
 by: Lawrence D'Oliv - Thu, 14 Mar 2024 20:30 UTC

On Thu, 14 Mar 2024 17:34:57 +0000, MitchAlsup1 wrote:

> Michael S wrote:
>
>> (2=X-clause) There exist an infinite precision number X for which
>> both Foo(X) == y and Rnd(X) == x.
>
> In the second clause:: are we guaranteed that RND(Foo(X))= Y ??

No idea why that’s relevant. Michael S was talking about “Rnd”, not “RND”.

When you say “RND”, I think of a bad random-number generator found in
various implementations of BASIC.

Re: Radians Or Degrees?

<usvsos$1s78k$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52066&group=comp.lang.c#52066

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Thu, 14 Mar 2024 15:12:43 -0700
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <usvsos$1s78k$2@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
<usvmpn$1r2h3$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Mar 2024 22:12:44 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ce24b8fd2905772e93df61c8aafe20bb";
logging-data="1973524"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/uvz62oNSDScHYCix6zCdDlZeJN7yn+E="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:iCwTanIc5xH5c3J/Wd1qWQH4vH4=
Content-Language: en-US
In-Reply-To: <usvmpn$1r2h3$1@dont-email.me>
 by: Chris M. Thomasson - Thu, 14 Mar 2024 22:12 UTC

On 3/14/2024 1:30 PM, Lawrence D'Oliveiro wrote:
> On Thu, 14 Mar 2024 17:34:57 +0000, MitchAlsup1 wrote:
>
>> Michael S wrote:
>>
>>> (2=X-clause) There exist an infinite precision number X for which
>>> both Foo(X) == y and Rnd(X) == x.
>>
>> In the second clause:: are we guaranteed that RND(Foo(X))= Y ??
>
> No idea why that’s relevant. Michael S was talking about “Rnd”, not “RND”.
>
> When you say “RND”, I think of a bad random-number generator found in
> various implementations of BASIC.

PRNG, an LGC? Fwiw, check this shit out:

https://groups.google.com/g/comp.lang.c++/c/7u_rLgQe86k/m/fYU9SnuAFQAJ

;^D

Re: Radians Or Degrees?

<307a175d13a21bf4ad1dc21f24bfc4a6@www.novabbs.org>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52067&group=comp.lang.c#52067

  copy link   Newsgroups: comp.lang.c comp.arch
Date: Thu, 14 Mar 2024 22:19:16 +0000
Subject: Re: Radians Or Degrees?
From: mitchalsup@aol.com (MitchAlsup1)
Newsgroups: comp.lang.c,comp.arch
X-Rslight-Site: $2y$10$sAmDZ3LiepCIcyCUvhhSTOUQ..yeW6LuAdHwe5Bc81ISUM2bUD2YC
X-Rslight-Posting-User: ac58ceb75ea22753186dae54d967fed894c3dce8
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me> <20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me> <ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me> <ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me> <20240222233838.0000572f@yahoo.com> <3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org> <ur8nud$4n1r$1@dont-email.me> <936a852388e7e4414cb7e529da7095ea@www.novabbs.org> <ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com> <a926c92f8e95f80bed61403c3676a684@www.novabbs.org> <usvmpn$1r2h3$1@dont-email.me>
Organization: Rocksolid Light
Message-ID: <307a175d13a21bf4ad1dc21f24bfc4a6@www.novabbs.org>
 by: MitchAlsup1 - Thu, 14 Mar 2024 22:19 UTC

Lawrence D'Oliveiro wrote:

> On Thu, 14 Mar 2024 17:34:57 +0000, MitchAlsup1 wrote:

>> Michael S wrote:
>>
>>> (2=X-clause) There exist an infinite precision number X for which
>>> both Foo(X) == y and Rnd(X) == x.
>>
>> In the second clause:: are we guaranteed that RND(Foo(X))= Y ??

> No idea why that’s relevant. Michael S was talking about “Rnd”, not “RND”.

You have just selected yourself as someone I will never reply to again.

> When you say “RND”, I think of a bad random-number generator found in
> various implementations of BASIC.

Re: Radians Or Degrees?

<usvt9f$1sdcj$4@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52068&group=comp.lang.c#52068

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Thu, 14 Mar 2024 15:21:33 -0700
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <usvt9f$1sdcj$4@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
<usvmpn$1r2h3$1@dont-email.me>
<307a175d13a21bf4ad1dc21f24bfc4a6@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 14 Mar 2024 22:21:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ce24b8fd2905772e93df61c8aafe20bb";
logging-data="1979795"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fXoppdevmtnHlJsHiuHnMmKropaKqusM="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:syV5VlLHNjPo5rGaZmrdzxZNJGk=
Content-Language: en-US
In-Reply-To: <307a175d13a21bf4ad1dc21f24bfc4a6@www.novabbs.org>
 by: Chris M. Thomasson - Thu, 14 Mar 2024 22:21 UTC

On 3/14/2024 3:19 PM, MitchAlsup1 wrote:
> Lawrence D'Oliveiro wrote:
>
>> On Thu, 14 Mar 2024 17:34:57 +0000, MitchAlsup1 wrote:
>
>>> Michael S wrote:
>>>
>>>> (2=X-clause) There exist an infinite precision number X for which
>>>> both Foo(X) == y and Rnd(X) == x.
>>>
>>> In the second clause:: are we guaranteed that RND(Foo(X))= Y ??
>
>> No idea why that’s relevant. Michael S was talking about “Rnd”, not
>> “RND”.
>
> You have just selected yourself as someone I will never reply to again.

It might be an AI? Just have a very strange feeling... Humm...

>
>> When you say “RND”, I think of a bad random-number generator found in
>> various implementations of BASIC.

Re: Radians Or Degrees?

<usvtbn$1sdcj$5@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52069&group=comp.lang.c#52069

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Thu, 14 Mar 2024 15:22:45 -0700
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <usvtbn$1sdcj$5@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
<usvmpn$1r2h3$1@dont-email.me>
<307a175d13a21bf4ad1dc21f24bfc4a6@www.novabbs.org>
<usvt9f$1sdcj$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 14 Mar 2024 22:22:47 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ce24b8fd2905772e93df61c8aafe20bb";
logging-data="1979795"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VrLJDLewsN1Qiyyo/Ul2VKdzh4Sw6Dpg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:XIDygqWRPVp/jO2zQ8bbaccftmM=
Content-Language: en-US
In-Reply-To: <usvt9f$1sdcj$4@dont-email.me>
 by: Chris M. Thomasson - Thu, 14 Mar 2024 22:22 UTC

On 3/14/2024 3:21 PM, Chris M. Thomasson wrote:
> On 3/14/2024 3:19 PM, MitchAlsup1 wrote:
[...]

An AI set on ass mode?

Re: Radians Or Degrees?

<ut17ji$27n6b$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52088&group=comp.lang.c#52088

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: terje.mathisen@tmsw.no (Terje Mathisen)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 11:23:45 +0100
Organization: A noiseless patient Spider
Lines: 84
Message-ID: <ut17ji$27n6b$1@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Injection-Date: Fri, 15 Mar 2024 10:23:46 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6f1799d9c53815839a977e52488ad30c";
logging-data="2350283"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181fYvg5yDaSjPPaPOVTfBPlPC7tmjGo/DMoB69mRKwxA=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.18.1
Cancel-Lock: sha1:VHMQsFZWyw/iKluth4B4Vbc79HI=
In-Reply-To: <20240314112655.000011f8@yahoo.com>
 by: Terje Mathisen - Fri, 15 Mar 2024 10:23 UTC

Michael, I for the main part agree with you here, i.e. calculating
sin(x) with x larger than 2^53 or so, is almost certainly stupid.

Actually using and depending upon the result is more stupid.

OTOH, it is and have always been, a core principle of ieee754 that basic
operations (FADD/FSUB/FMUL/FDIV/FSQRT) shall assume that the inputs are
exact (no fractional ulp uncertainty), and that we from that starting
point must deliver a correctly rounded version of the infinitely precise
exact result of the operation.

Given the latter, it is in fact very tempting to see if that basic
result rule could be applied to more of the non-core operations, but I
cannot foresee any situation where I would use it myself: If I find
myself in a situation where the final fractional ulp is important, then
I would far rather switch to doing the operation in fp128.

Terje

Michael S wrote:
> On Fri, 23 Feb 2024 11:10:00 +0100
> Terje Mathisen <terje.mathisen@tmsw.no> wrote:
>
>> MitchAlsup1 wrote:
>>> Steven G. Kargl wrote:
>>>> Agreed a programmer should use what is required by the problem
>>>> that they are solving.  I'll note that SW implementations have
>>>> their sets of tricks (e.g., use of double-double arithmetic to
>>>> achieve double precision).
>>>
>>> To get near IEEE desired precision, one HAS TO use more than 754
>>> precision.
>>
>> There are groups who have shown that exactly rounded trancendental
>> functions are in fact achievable with maybe 3X reduced performance.
>>
>
> At which cost in tables sizes?
>
>
>> There is a suggestion on the table to make that a (probably optional
>> imho) feature for an upcoming ieee754 revision.
>>
>> Terje
>>
>
> The critical point here is definition of what considered exact. If
> 'exact' is measured only on y side of y=foo(x), disregarding
> possible imprecision on the x side then you are very likely to end up
> with results that are slower to calculate, but not at all more useful
> from point of view of engineer or physicist. Exactly like Payne-Hanek
> or Mitch's equivalent of Payne-Hanek.
>
> The definition of 'exact' should be:
> For any finite-precision function foo(x) lets designate the same
> mathematical function calculated with infinite precision as Foo(x).
> Let's designate an operation of rounding of infinite-precision number to
> desired finite precision as Rnd(). Rounding is done in to-nearest mode.
> Unlike in the case of basic operations, ties are allowed to be broken in
> any direction.
> The result of y=foo(x) for finite-precision number x considered
> exact if *at least one* two conditions is true:
> (1=Y-clause) Rnd(Foo(x)) == y
> (2=X-clause) There exist an infinite precision number X for which
> both Foo(X) == y and Rnd(X) == x.
>
> As follows from the (2), it is possible and not uncommon that more
> than one finite-precision number y is accepted exact result of foo(x).
>
> If Committee omits the 2nd clause then the whole proposition will be not
> just not useful, but harmful.
>

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: Radians Or Degrees?

<ut1amc$28anb$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52089&group=comp.lang.c#52089

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: terje.mathisen@tmsw.no (Terje Mathisen)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 12:16:27 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <ut1amc$28anb$1@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
<618048a8fb3a5342f6068be344e8f4ac@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 15 Mar 2024 11:16:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6f1799d9c53815839a977e52488ad30c";
logging-data="2370283"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18qpRRlSRdAWq/cbA8lhO20FFna5KDVtC0tHGN54FC7Jg=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Firefox/91.0 SeaMonkey/2.53.18.1
Cancel-Lock: sha1:tHKyf+oCOL4/ZE+dioQF+Kxx9TQ=
In-Reply-To: <618048a8fb3a5342f6068be344e8f4ac@www.novabbs.org>
 by: Terje Mathisen - Fri, 15 Mar 2024 11:16 UTC

MitchAlsup1 wrote:
> And thirdly::
>
> Let us postulate that the reduced argument r is indeed calculated with
> 0.5ULP
> error.
>
> What makes you think you can calculate the polynomial without introducing
> any more error ??

It should be obvious that any argument reduction step must return a
value with significantly higher precision than the input(s), and that
this higher precision value is then used in any polynomial evaluation.

With careful setup, it is very often possible to reduce the amount of
extended-procision work needed to just one or two steps, i.e. for the
classic Taylor sin(x) series, with x fairly small, the x^3 and higher
terms can make do with double precision, so that the final step is to
add the two parts of the leading x term: First the trailing part and
then when adding the upper 53 bits of x you get a single rounding at
this stage.

This is easier and better when done with 64-bit fixed-point values,
augemented with a few 128-bit operations.

Terje

--
- <Terje.Mathisen at tmsw.no>
"almost all programming can be viewed as an exercise in caching"

Re: Radians Or Degrees?

<20240315134936.000040cf@yahoo.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52090&group=comp.lang.c#52090

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5chosen@yahoo.com (Michael S)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 13:49:36 +0200
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <20240315134936.000040cf@yahoo.com>
References: <ur5trn$3d64t$1@dont-email.me>
<ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com>
<ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me>
<ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me>
<ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me>
<20240314112655.000011f8@yahoo.com>
<a926c92f8e95f80bed61403c3676a684@www.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="33cd23f10fa0274abc2057decddf1d09";
logging-data="2380606"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19V6Z8q112RlvTQTjHLILJcaA2rZANLPDI="
Cancel-Lock: sha1:o9cCx2MnPMwi0lzrJaATmN/yR+Q=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
 by: Michael S - Fri, 15 Mar 2024 11:49 UTC

On Thu, 14 Mar 2024 17:34:57 +0000
mitchalsup@aol.com (MitchAlsup1) wrote:

> Michael S wrote:
>
> > (2=X-clause) There exist an infinite precision number X for which
> > both Foo(X) == y and Rnd(X) == x.
>
> In the second clause:: are we guaranteed that RND(Foo(X))= Y ??
>

No, we are not.

> > As follows from the (2), it is possible and not uncommon that more
> > than one finite-precision number y is accepted exact result of
> > foo(x).
>
> > If Committee omits the 2nd clause then the whole proposition will
> > be not just not useful, but harmful.
>
> An interesting side effect of greater intermediate precision is the
> lack of need to round prior to the final result. Thus, my sin(x) over
> its entire calculation suffers exactly 1 rounding. Payne & Hanek does
> not have this prperty.

Which does not help to recover precision lost during rounding of x
that happened before your wonderful instruction.

Re: Radians Or Degrees?

<20240315141552.00003d38@yahoo.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52091&group=comp.lang.c#52091

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: already5chosen@yahoo.com (Michael S)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 14:15:52 +0200
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <20240315141552.00003d38@yahoo.com>
References: <ur5trn$3d64t$1@dont-email.me>
<ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com>
<ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me>
<ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me>
<ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me>
<20240314112655.000011f8@yahoo.com>
<ut17ji$27n6b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="33cd23f10fa0274abc2057decddf1d09";
logging-data="2380606"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aAzGNt0DRIEVfmt9CmtIcF1FGqi2TKVU="
Cancel-Lock: sha1:KKMeRtnAM83XLnQUz1lQ2wlXr2Q=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
 by: Michael S - Fri, 15 Mar 2024 12:15 UTC

On Fri, 15 Mar 2024 11:23:45 +0100
Terje Mathisen <terje.mathisen@tmsw.no> wrote:

> Michael, I for the main part agree with you here, i.e. calculating
> sin(x) with x larger than 2^53 or so, is almost certainly stupid.
>
> Actually using and depending upon the result is more stupid.
>
> OTOH, it is and have always been, a core principle of ieee754 that
> basic operations (FADD/FSUB/FMUL/FDIV/FSQRT) shall assume that the
> inputs are exact (no fractional ulp uncertainty), and that we from
> that starting point must deliver a correctly rounded version of the
> infinitely precise exact result of the operation.
>
> Given the latter, it is in fact very tempting to see if that basic
> result rule could be applied to more of the non-core operations, but
> I cannot foresee any situation where I would use it myself: If I find
> myself in a situation where the final fractional ulp is important,
> then I would far rather switch to doing the operation in fp128.
>
> Terje
>

To make it less tempting, you could try to push for inclusion of
rsqrt() into basic set. Long overdue, IMHO.

Right now, I can't think of any other transcendental that I really want
to elevate to higher status. It seems to me that elevation of log2(x)
and of 2**x will do no harm, but I am not sure about usefulness.

Re: Radians Or Degrees?

<ut2csb$2fe4u$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52092&group=comp.lang.c#52092

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 13:59:52 -0700
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <ut2csb$2fe4u$1@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<ut17ji$27n6b$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 15 Mar 2024 20:59:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed612d4ce44e1af227fa0b762e20f588";
logging-data="2603166"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ymBf/rmbqWpB55yQp/MHksGfZwONiBJg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:dUQCwn2F4T7q903f4g4AFPTr+8Q=
In-Reply-To: <ut17ji$27n6b$1@dont-email.me>
Content-Language: en-US
 by: Chris M. Thomasson - Fri, 15 Mar 2024 20:59 UTC

On 3/15/2024 3:23 AM, Terje Mathisen wrote:
> Michael, I for the main part agree with you here, i.e. calculating
> sin(x) with x larger than 2^53 or so, is almost certainly stupid.
[...]

;^D tooooooo big. :^)

Now, wrt the results, arbitrary precision for trig is useful, in say...
Deep fractal zooms...

Zooming in really deep in say something like this, well the precision of
trig can become an issue:

https://paulbourke.net/fractals/multijulia/

Trig would be used, say, in rectangular to-from polar forms wrt getting
the n-ary roots of a complex number?

Re: Radians Or Degrees?

<ut2dl8$2ffnh$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52093&group=comp.lang.c#52093

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 14:13:11 -0700
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <ut2dl8$2ffnh$1@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<ut17ji$27n6b$1@dont-email.me> <ut2csb$2fe4u$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 15 Mar 2024 21:13:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed612d4ce44e1af227fa0b762e20f588";
logging-data="2604785"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1983oh+Dz6BKXm2zXYUHua3uc/r3tUN2jQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:1KtDhNA4mN363hfJ0OTzeUziUs8=
Content-Language: en-US
In-Reply-To: <ut2csb$2fe4u$1@dont-email.me>
 by: Chris M. Thomasson - Fri, 15 Mar 2024 21:13 UTC

On 3/15/2024 1:59 PM, Chris M. Thomasson wrote:
> On 3/15/2024 3:23 AM, Terje Mathisen wrote:
>> Michael, I for the main part agree with you here, i.e. calculating
>> sin(x) with x larger than 2^53 or so, is almost certainly stupid.
> [...]
>
> ;^D tooooooo big. :^)
>
> Now, wrt the results, arbitrary precision for trig is useful, in say...
> Deep fractal zooms...

Say I want at least 30 digits of precision for a certain calculation of
complex numbers at a certain zoom level. Along the lines of trying to
match convergents of continued fractions, take pi:

3.1415926535897932384...

two digits of decimal precision:

22/7 = 3.14_28571428571428571428571428571

three digits of decimal precision:

333/106 = 3.1415_094339622641509433962264151

six digits of decimal precision:

355/113 = 3.141592_9203539823008849557522124

On and on...

Well...

>
> Zooming in really deep in say something like this, well the precision of
> trig can become an issue:
>
> https://paulbourke.net/fractals/multijulia/
>
> Trig would be used, say, in rectangular to-from polar forms wrt getting
> the n-ary roots of a complex number?
>

Re: Radians Or Degrees?

<87wmq32o26.fsf@nosuchdomain.example.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52094&group=comp.lang.c#52094

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith.S.Thompson+u@gmail.com (Keith Thompson)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 14:16:33 -0700
Organization: None to speak of
Lines: 29
Message-ID: <87wmq32o26.fsf@nosuchdomain.example.com>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<ut17ji$27n6b$1@dont-email.me> <ut2csb$2fe4u$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="1424ef631298fc5a748d3d307144615d";
logging-data="2607186"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RSXne7gF/wqkcQl9/j2+t"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Cancel-Lock: sha1:DGHw9WPapCrfAAy8q31bmPz5QBs=
sha1:O+nFAQrA5H5B6WRcfjIfvomCaSw=
 by: Keith Thompson - Fri, 15 Mar 2024 21:16 UTC

"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
> On 3/15/2024 3:23 AM, Terje Mathisen wrote:
>> Michael, I for the main part agree with you here, i.e. calculating
>> sin(x) with x larger than 2^53 or so, is almost certainly stupid.
> [...]
>
> ;^D tooooooo big. :^)
>
> Now, wrt the results, arbitrary precision for trig is useful, in
> say... Deep fractal zooms...
>
> Zooming in really deep in say something like this, well the precision
> of trig can become an issue:
>
> https://paulbourke.net/fractals/multijulia/
>
> Trig would be used, say, in rectangular to-from polar forms wrt
> getting the n-ary roots of a complex number?

I can see how computing sin(x) with high precision for "reasonable"
values of x would be useful, but does any of that benefit from being
able to compute sin(2^53) accurately? (Since I'm posting to
comp.lang.c, I'll mention that "^" is meant to be exponentation, not
bitwise xor.)

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Medtronic
void Void(void) { Void(); } /* The recursive call of the void */

Re: Radians Or Degrees?

<ut2ef1$2ffnh$2@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=52095&group=comp.lang.c#52095

  copy link   Newsgroups: comp.lang.c comp.arch
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: chris.m.thomasson.1@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c,comp.arch
Subject: Re: Radians Or Degrees?
Date: Fri, 15 Mar 2024 14:26:56 -0700
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <ut2ef1$2ffnh$2@dont-email.me>
References: <ur5trn$3d64t$1@dont-email.me> <ur5v05$3ccut$1@dont-email.me>
<20240222015920.00000260@yahoo.com> <ur69j9$3ftgj$3@dont-email.me>
<ur86eg$1aip$1@dont-email.me> <ur88e4$1rr1$5@dont-email.me>
<ur8a2p$2446$1@dont-email.me> <ur8ctk$2vbd$2@dont-email.me>
<20240222233838.0000572f@yahoo.com>
<3b2e86cdb0ee8785b4405ab10871c5ca@www.novabbs.org>
<ur8nud$4n1r$1@dont-email.me>
<936a852388e7e4414cb7e529da7095ea@www.novabbs.org>
<ur9qtp$fnm9$1@dont-email.me> <20240314112655.000011f8@yahoo.com>
<ut17ji$27n6b$1@dont-email.me> <ut2csb$2fe4u$1@dont-email.me>
<87wmq32o26.fsf@nosuchdomain.example.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 15 Mar 2024 21:26:57 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="ed612d4ce44e1af227fa0b762e20f588";
logging-data="2604785"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18l2H20FMNwmE6JzeA4ncJU2QcyBT0+kSk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:5OSjJ1ylIjXX+8Ve+ZCfiV/TDO0=
In-Reply-To: <87wmq32o26.fsf@nosuchdomain.example.com>
Content-Language: en-US
 by: Chris M. Thomasson - Fri, 15 Mar 2024 21:26 UTC

On 3/15/2024 2:16 PM, Keith Thompson wrote:
> "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> writes:
>> On 3/15/2024 3:23 AM, Terje Mathisen wrote:
>>> Michael, I for the main part agree with you here, i.e. calculating
>>> sin(x) with x larger than 2^53 or so, is almost certainly stupid.
>> [...]
>>
>> ;^D tooooooo big. :^)
>>
>> Now, wrt the results, arbitrary precision for trig is useful, in
>> say... Deep fractal zooms...
>>
>> Zooming in really deep in say something like this, well the precision
>> of trig can become an issue:
>>
>> https://paulbourke.net/fractals/multijulia/
>>
>> Trig would be used, say, in rectangular to-from polar forms wrt
>> getting the n-ary roots of a complex number?
>
> I can see how computing sin(x) with high precision for "reasonable"
> values of x would be useful, but does any of that benefit from being
> able to compute sin(2^53) accurately?

Nope. :^) Fwiw, my fractals deal with zooming in and the numbers
comprising their initial state is tiny compared to 2^53. For instance
take these initial states for my multijulia fractal:

____________
c0 = {0.5,0.0}, c1 = {-5.5,0.0}

c0 = {0.0,1.0}, c1 = {0.0,-1.0}

c0 = {0.726514,0.240242}, c1 = {0.171039,0.235043}

c0 = {-1.444991,0.139179}, c1 = {-0.063294,-1.401774}

c0 = {1,0}, c1 = {-1,0}

c0 = {-.75, .06 }, c1 = {-.45, .6 }

c0 = {-1,0}, c1 = {1,0}, c2 = {0,-1}, c3 = {0,1}
____________

Notice how the numbers are small? However, if we zoom in enough, then
2^53 might become an issue..

> (Since I'm posting to
> comp.lang.c, I'll mention that "^" is meant to be exponentation, not
> bitwise xor.)
>

Indeed.


devel / comp.lang.c / Re: Radians Or Degrees?

Pages:1234567
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor