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

Fix issue #80: Bug in large array size inputs for JavaBigDecimalParse… #81

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

wrandelshofer
Copy link
Owner

…r.parseBigDecimal.

AbstractBigDecimalParserTest.java:

  • Add a test for the input value that reproduces the problem.

JavaBigDecimalFromByteArray.java,
JavaBigDecimalFromCharArray.java,
JavaBigDecimalFromCharSequence.java:

  • Fix the off-by-one issue in JavaBigDecimalFromCharArray.
  • Harmonize the code in all 3 implementations.

Strings.java,
FftMultiplierTest.java,
JmhBigDecimalScalability.java,
JmhDoubleScalability.java,
JmhJavaBigIntegerFromByteArrayScalability.java,
JmhJavaDoubleFromCharSequenceScalability.java:

  • Implement a better method for creating Strings from repeated characters.

…r.parseBigDecimal.

AbstractBigDecimalParserTest.java:
- Add a test for the input value that reproduces the problem.

JavaBigDecimalFromByteArray.java,
JavaBigDecimalFromCharArray.java,
JavaBigDecimalFromCharSequence.java:
- Fix the off-by-one issue in JavaBigDecimalFromCharArray.
- Harmonize the code in all 3 implementations.

Strings.java,
FftMultiplierTest.java,
JmhBigDecimalScalability.java,
JmhDoubleScalability.java,
JmhJavaBigIntegerFromByteArrayScalability.java,
JmhJavaDoubleFromCharSequenceScalability.java:
 - Implement a better method for creating Strings from repeated characters.
@wrandelshofer wrandelshofer merged commit 2431665 into main Sep 13, 2024
1 check passed
@wrandelshofer wrandelshofer deleted the FixIssue80 branch October 15, 2024 05:17
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

Successfully merging this pull request may close these issues.

1 participant