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

Make bernoulli numbers with mpreal work #126

Open
emsr opened this issue Aug 5, 2017 · 0 comments
Open

Make bernoulli numbers with mpreal work #126

emsr opened this issue Aug 5, 2017 · 0 comments

Comments

@emsr
Copy link
Owner

emsr commented Aug 5, 2017

Trying to make bernoulli numbers with mpreal was a sobering exercise!
The sums in my code were better! You need to cast ints to mpreal or they go to double!
I've patched my table generators but the issue is deep.
num_thing_t may need to be a functions (constexpr, trivial for basic types)
that for mpreal stores the input precision. It is a cast operator.

I should solicit ideas for numeric_limits for precision-erased number types.
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

1 participant