A collection of mathematical functions for the BigDecimal type. These functions are Rust implementations of Richard J. Mathar's A Java Math.BigDecimal Implementation of Core Mathematical Functions. Where necessary, some functions from OpenJDK's implementation of BigDecimal have also been reimplemented here.
I write Rust code regularly, but I am not an expert in either Java or numerical analysis. I created this repo because certain mathematical functions are not present in bigdecimal-rs that I need for another side project I'm working on. Contributions, feature requests, and bug reports are welcome, but I have a day job and cannot promise quick turnarounds.