Registry / utility / big-math

big-math

JSON →
library2.3.2javamavenunverified

Provides advanced mathematical functions for BigDecimal, including trigonometric, exponential, and logarithmic operations.

<dependency> <groupId>ch.obermuhlner</groupId> <artifactId>big-math</artifactId> <version>2.3.2</version> </dependency>
INSTALL
IMPORT
SIG · BIG-MATH
B
big-math
utilityjavav2.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BigDecimalMath
ch.obermuhlner.math.big.BigDecimalMath

Computes the sine of a BigDecimal number.

import ch.obermuhlner.math.big.BigDecimalMath; import java.math.BigDecimal; import java.math.MathContext; public class Main { public static void main(String[] args) { BigDecimal x = new BigDecimal("2"); BigDecimal result = BigDecimalMath.sin(x, MathContext.DECIMAL64); System.out.println("sin(2) = " + result); } }
Debug
Known issues
gotchaPrecision and rounding behavior depend on the MathContext provided; using insufficient precision may lead to inaccurate results.
fix
Always specify an appropriate MathContext (e.g., MathContext.DECIMAL128) for high-precision calculations.
affects: >=2.0.0
Upgrade
Version history
2.3.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
big-math — mvn dependency:get big-math · libregistry