first commit

master
曾宏耀 4 years ago
parent 877ee8c310
commit b572d13142

@ -0,0 +1,15 @@
public class logax {
public static void main(String[] args)
{
double a=logax(4,2);
System.out.print(a);
}
public static double logax(double value,double base)
{
return Math.log(value) / Math.log(base);
}
}
Loading…
Cancel
Save