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

Method BigDecimal: precision too large. (ArgumentError) #207

Open
BurdetteLamar opened this issue Nov 27, 2021 · 2 comments
Open

Method BigDecimal: precision too large. (ArgumentError) #207

BurdetteLamar opened this issue Nov 27, 2021 · 2 comments
Assignees
Labels

Comments

@BurdetteLamar
Copy link
Member

Doc for method BigDecimal says:

  • ArgumentError:: If +initial+ is a Float, and the +digits+ is larger than
  •             Float::DIG + 1, this exception is raised.
    

Is this true for other methods that have digits/ndigits?

@mrkn
Copy link
Member

mrkn commented Nov 28, 2021

No.

Do you know why the exception occurs in this condition?

@BurdetteLamar
Copy link
Member Author

No.

Do you know why the exception occurs in this condition?

I do not know.

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

No branches or pull requests

2 participants