Java BigDecimal.pow()

Java BigDecimal.pow() is a method in the Java BigDecimal class that raises a BigDecimal to an integer power. This method is useful in situations where precise integer exponentiation is required, such as in financial or scientific applications. Introduced in Java 2004 with Java 5, pow() allows for high-precision exponentiation without the rounding errors inherent in floating-point types.

https://docs.oracle.com/javase/8/docs/api/java/math/BigDecimal.html