I have an Algorithmic implementation which deal in extremely small and extremely large values. I am using
BigDecimalMath result = BigDecimalMath.exp(a)
//where a is any bigdecimal value
BigDecimalMath library can be found here https://arxiv.org/src/0908.3030v2/anc
According to my best knowledge this function calculate only upto E9 (i.e -3.44E9) but my smallest value is -3.47E14 (for which it give overflow error) I am implementing this Algorithm in JAVA as it already implemented in other programming languages so I have to find the solution for this problem.
Can anyone help in this with or without using this library.