A Java Math.BigDecimal Implementation of Core Mathematical Functions
Richard J. Mathar

TL;DR
This paper presents a Java library implementing high-precision mathematical functions using BigDecimal, enabling scientific computations beyond standard double precision accuracy.
Contribution
It introduces a native Java implementation of core mathematical functions with arbitrary precision, expanding Java's capabilities for scientific applications.
Findings
Supports high-precision calculations in Java
Provides a comprehensive set of mathematical functions
Open-source under LGPL v3.0
Abstract
The mathematical functions log(x), exp(x), root[n]x, sin(x), cos(x), tan(x), arcsin(x), arctan(x), x^y, sinh(x), cosh(x), tanh(x) and Gamma(x) have been implemented for arguments x in the real domain in a native Java library on top of the multi-precision BigDecimal representation of floating point numbers. This supports scientific applications where more than the double precision accuracy of the library of the Standard Edition is desired. The full source code is made available under the LGPL v3.0.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms · Computational Physics and Python Applications · Distributed and Parallel Computing Systems
