Android Code Snippet logarithms using BigDecimals

Hi All

A small Code Module to provide Logs and AntiLogs [Base e & Base 10] when using BigDecimals. Not the precision I had hoped but appears to be far better than returning to Doubles for these functions.
With these functions it is a small step to Non-Integer powers and roots in BigDecimals.
Many Thanks to @agraham for the Bignumbers library.

Regards Roger
 

Attachments

  • LogBD.bas
    4.9 KB · Views: 392
Top