From: "N.G. Timmons" <ngt26@cam.ac.uk>
To: libc-help@sourceware.org
Subject: Elementary Functions
Date: Mon, 13 Jan 2020 15:09:00 -0000 [thread overview]
Message-ID: <650c827a1ea44179af7011d0ee0fc6e9@cam.ac.uk> (raw)
Hi,
I was looking through the source for sin/cos/exp etc. and noticed that a
lot of the comments don't actually say what/why things are being done.
There also exists a union type called "mynumber" which is used to access
the high and low bits of a 64-bit floating point number.
I would like to comment the elementary functions with:
- What algorithm is being used
- Why is it being used
- Any caveats on unusual operations so future changes can be made
safely
- Actual testing information (the current statistics given at the
top of some functions doesn't say how they were tested). This is to
allow for verification and comparison if future changes are made.
I would like to rename 'mynumber' and a few other variables to
meaningful names so that the source code can be followed with greater
ease.
Would the community be open to me making these changes?
Thanks,
Nick Timmons
next reply other threads:[~2020-01-13 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 15:09 N.G. Timmons [this message]
2020-01-13 16:49 ` Carlos O'Donell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=650c827a1ea44179af7011d0ee0fc6e9@cam.ac.uk \
--to=ngt26@cam.ac.uk \
--cc=libc-help@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).