I am developing a mathematical parser which is able to evaluate String like \'5+b*sqrt(c^2)\'
. I am using ANTLR for the parsing and make good progress. Now I fe
ApFloat is a library which contains arbitrary-precision approximations of trigometric functions and non-integer powers both; however, it uses its own internal representations, rather than BigDecimal
and BigInteger
. I haven't used it before, so I can't vouch for its correctness or performance characteristics, but the api seems fairly complete.