@@ -0,0 +1,623 @@
+package ch.obermuhlner.math.big.example;%0A%0Aimport ch.obermuhlner.math.big.BigDecimalMath;%0A%0Aimport java.math.BigDecimal;%0Aimport java.math.MathContext;%0A%0A/**%0A * Example class for a fictive project that needs a specific precision in its calculations.%0A */%0Apublic class HighPrecisionMath %7B%0A%09public static MathContext MATH_CONTEXT = new MathContext(100);%0A%0A%09public static BigDecimal PI = BigDecimalMath.pi(MATH_CONTEXT);%0A%0A%09public static BigDecimal pow(BigDecimal x, BigDecimal y) %7B%0A%09%09return BigDecimalMath.pow(x, y, MATH_CONTEXT);%0A%09%7D%0A%0A%09public static BigDecimal sin(BigDecimal x) %7B%0A%09%09return BigDecimalMath.sin(x, MATH_CONTEXT);%0A%09%7D%0A%7D%0A

add example HighPrecisionMath