Skip to content

What is the correct max input for exp()? #119

Closed Answered by PaulRBerg
antoniopgs asked this question in Q&A
Discussion options

You must be logged in to vote

Good catch! You're right in that the former is correct, i.e. 133.084258667509499441.

This is a vestige of the original implementation of the exp function, which was using 128.128-bit as the internal number representation. Now I'm using 192.64-bit, which allows for better accuracy, hence a greater allowed input. You can read more about the history of this refactor in issue #32 and in commit 6d28ff. Such a shame that I didn't create a PR for this.

So this is just a documentation typo. I pushed a commit to fix it:

830eb44

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by antoniopgs
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants