Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Dead? No excuse for laying off work.


devel / comp.lang.c / Re: New version of the cephes mathematical library

SubjectAuthor
* New version of the cephes mathematical libraryJacob Navia
`* Re: New version of the cephes mathematical libraryChris M. Thomasson
 `- Re: New version of the cephes mathematical libraryThomas Navia

1
New version of the cephes mathematical library

<1eeab6e3-7120-4a78-a92d-3cc30ed58cb6n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23579&group=comp.lang.c#23579

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:450:b0:39d:9a0:3b with SMTP id o16-20020a05622a045000b0039d09a0003bmr26192447qtx.213.1667505387996;
Thu, 03 Nov 2022 12:56:27 -0700 (PDT)
X-Received: by 2002:a05:622a:20c:b0:3a5:50f9:feaf with SMTP id
b12-20020a05622a020c00b003a550f9feafmr4601020qtx.258.1667505387825; Thu, 03
Nov 2022 12:56:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Thu, 3 Nov 2022 12:56:27 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a01:cb08:96b:d900:61d5:f5df:e5c7:8ac1;
posting-account=w-mlQwkAAADzeGtlE6r30e-GS2Jr1llp
NNTP-Posting-Host: 2a01:cb08:96b:d900:61d5:f5df:e5c7:8ac1
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1eeab6e3-7120-4a78-a92d-3cc30ed58cb6n@googlegroups.com>
Subject: New version of the cephes mathematical library
From: jacobnav...@gmail.com (Jacob Navia)
Injection-Date: Thu, 03 Nov 2022 19:56:27 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1255
 by: Jacob Navia - Thu, 3 Nov 2022 19:56 UTC

If you are interested in CEPHES, I have published a new version of it.
See:
https://github.com/jacob-navia/qlib.git

This is a first batch of code I will publish. The lcc source code will follow.

jacob

Re: New version of the cephes mathematical library

<tk172m$1hg08$3@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23580&group=comp.lang.c#23580

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: chris.m....@gmail.com (Chris M. Thomasson)
Newsgroups: comp.lang.c
Subject: Re: New version of the cephes mathematical library
Date: Thu, 3 Nov 2022 13:07:51 -0700
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <tk172m$1hg08$3@dont-email.me>
References: <1eeab6e3-7120-4a78-a92d-3cc30ed58cb6n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 3 Nov 2022 20:07:51 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d9b9e38a846171bb842bebd1855df7e0";
logging-data="1622024"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18OAHXF9/Sx/WhrrG40AUagKq6Ka+yS+DU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.1
Cancel-Lock: sha1:bCyeFdTZvCEBRTmtrb9S6vQ8Zu8=
Content-Language: en-US
In-Reply-To: <1eeab6e3-7120-4a78-a92d-3cc30ed58cb6n@googlegroups.com>
 by: Chris M. Thomasson - Thu, 3 Nov 2022 20:07 UTC

On 11/3/2022 12:56 PM, Jacob Navia wrote:
> If you are interested in CEPHES, I have published a new version of it.
> See:
> https://github.com/jacob-navia/qlib.git
>
> This is a first batch of code I will publish. The lcc source code will follow.

typedef struct _float128_t{
unsigned long long low, high;
} float128_t;

Reminds me of an old piece of code from an old friend:

https://groups.google.com/g/comp.lang.asm.x86/c/FScbTaQEYLc/m/2lbw55j9UYgJ

Re: New version of the cephes mathematical library

<3f93b456-d65f-46d2-8aa6-52135ba631f4n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=23581&group=comp.lang.c#23581

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:2aa4:b0:4bc:d3a:7486 with SMTP id js4-20020a0562142aa400b004bc0d3a7486mr19048227qvb.82.1667513556264;
Thu, 03 Nov 2022 15:12:36 -0700 (PDT)
X-Received: by 2002:ac8:5b92:0:b0:3a5:428:9210 with SMTP id
a18-20020ac85b92000000b003a504289210mr26752418qta.3.1667513556072; Thu, 03
Nov 2022 15:12:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Thu, 3 Nov 2022 15:12:35 -0700 (PDT)
In-Reply-To: <tk172m$1hg08$3@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2a01:cb08:96b:d900:61d5:f5df:e5c7:8ac1;
posting-account=w8QV1woAAADw-xIGQpGJaGtUJ7jVf87x
NNTP-Posting-Host: 2a01:cb08:96b:d900:61d5:f5df:e5c7:8ac1
References: <1eeab6e3-7120-4a78-a92d-3cc30ed58cb6n@googlegroups.com> <tk172m$1hg08$3@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3f93b456-d65f-46d2-8aa6-52135ba631f4n@googlegroups.com>
Subject: Re: New version of the cephes mathematical library
From: naviatho...@gmail.com (Thomas Navia)
Injection-Date: Thu, 03 Nov 2022 22:12:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2331
 by: Thomas Navia - Thu, 3 Nov 2022 22:12 UTC

Le jeudi 3 novembre 2022 à 21:08:05 UTC+1, Chris M. Thomasson a écrit :
> On 11/3/2022 12:56 PM, Jacob Navia wrote:
> > If you are interested in CEPHES, I have published a new version of it.
> > See:
> > https://github.com/jacob-navia/qlib.git
> >
> > This is a first batch of code I will publish. The lcc source code will follow.
> typedef struct _float128_t{
> unsigned long long low, high;
> } float128_t;
>
> Reminds me of an old piece of code from an old friend:
>
> https://groups.google.com/g/comp.lang.asm.x86/c/FScbTaQEYLc/m/2lbw55j9UYgJ

Well, representing 128 bit floats as two 64 bit numbers must have been used by ... 99% of the people that wrote code to handle those numbers!
But the version of t he CEPHES library I am presenting uses 8 BYTE numbers (mantissa of 448 bits). The 128 bit numbers are used to seed the newton iteration of some routines. Instead of starting with a seed of 64 bit, it is better to start with a seed of 128 ones, then pass to 448 bit arithmetic when needed

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor