Skip to content
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

Closed
binarybana opened this issue Mar 9, 2013 · 11 comments
Closed

mantissa and exponent functions missing #2516

binarybana opened this issue Mar 9, 2013 · 11 comments

Comments

@binarybana
Copy link
Contributor

mantissa and exponent are mentioned here but weren't in Base. Were they removed or never added for a reason?

@JeffBezanson
Copy link
Member

I think those names were removed in favor of the more standard (but worse) significand and logb.

@StefanKarpinski
Copy link
Member

I don't recall that bikeshed. I'd much prefer mantissa and exponent.

@ViralBShah
Copy link
Member

I would prefer mantissa and exponent too - don't recollect the bikeshed either.

@ViralBShah ViralBShah reopened this Mar 9, 2013
@johnmyleswhite
Copy link
Member

+1 for mantissa and exponent

@stevengj
Copy link
Member

stevengj commented Mar 9, 2013

Floating-point standards invariably prefer significand.

@StefanKarpinski
Copy link
Member

We should ask Kahan.

@JeffBezanson
Copy link
Member

As I said, we're using standard names... that everybody hates.

@stevengj
Copy link
Member

stevengj commented Mar 9, 2013

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".

@JeffBezanson
Copy link
Member

I'm on board with using significand and exponent.

@stevengj
Copy link
Member

(If you look at any documentation for logb, it is described as returning the "the exponent".)

@StefanKarpinski
Copy link
Member

Ok, let's go with significand and exponent then.

On Saturday, March 9, 2013, Steven G. Johnson wrote:

(If you look at any documentation for logb, it is described as returning
the "the exponent".)


Reply to this email directly or view it on GitHubhttps://github.com//issues/2516#issuecomment-14674979
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants