finding exponents in java
View Single Post
02-03-2005, 03:01 AM
Join Date: Dec 2004
Location: Keswick, Ontario
Thanked 0 Times in 0 Posts
Perhaps logarithms could be of some use?
double exp = Math.log10(double number) / Math.log10(double base);
I just realized Math.log is base
, so I switched it to Math.log10
Last edited by cfc; 02-03-2005 at
View Public Profile
Visit cfc's homepage!
Find More Posts by cfc