-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mantissa
and exponent
functions missing
#2516
Comments
I think those names were removed in favor of the more standard (but worse) |
I don't recall that bikeshed. I'd much prefer mantissa and exponent. |
I would prefer |
+1 for |
Floating-point standards invariably prefer significand. |
We should ask Kahan. |
As I said, we're using standard names... that everybody hates. |
Kahan doesn't like "mantissa". (I can't find the reference now, but I've seem him express his opinion in writing on this. Old fogeys don't like "mantissa" because it has an older meaning of the fractional part of a logarithm. Of course, no one uses that meaning any more either. But since all of the standards documents use "significand", using "mantissa" would put us on the wrong side of history here.) I don't know about "logb", though; I'd always heard it called the "exponent". |
I'm on board with using |
(If you look at any documentation for |
Ok, let's go with significand and exponent then. On Saturday, March 9, 2013, Steven G. Johnson wrote:
|
mantissa
andexponent
are mentioned here but weren't in Base. Were they removed or never added for a reason?The text was updated successfully, but these errors were encountered: