Method log(double a)
Return type: double
Member of: java.lang.Math
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 this.digitNumberForPC = (int) (Math.log(codeLength) / Math.log(10));
2 setBounds(i, Math.pow(10, Math.floor(Math.log(Xmi) / Math.log(10))), Math.pow(10,
3 digitForPC = (int) (Math.log(pc) / Math.log(10));
4 precisionUnit[i] = Math.pow(10, Math.rint(Math.log(Xma - Xmi) / Math.log(10)));
5 gd.addNumericField("Error tolerance [1*10^(-x)]:", -(Math.log(maxError)/Math.log(10)), 0);
6 double log10 = Math.log(10);
7 double log10 = Math.log(10);
8 int index = (int)((Math.log(numBits) / Math.log(2))) - 3;
9 double SCALE = 255.0/Math.log(255.0);
10 double log10numLines = Math.log(numLines) / Math.log(10);
11 return new BigDecimal(Math.log(val.doubleValue()));
12 final double d = Math.floor(Math.log(x)/s_log10);
13 Math.log(2));
14 assertEquals(i + "! ",Math.log((double)factorial(i)),
15 double step = Math.log(last/first)/(nValues-1);
16 d = roundMagic(Math.log(bdVal.doubleValue()) * LOG10_FACTOR);
17 _xExp = (int) Math.floor(Math.log(largest) * _LOG10SCALE);
18 sbValXform= Math.log((double)(sbMax-sbVal+1.0)),
19 double mu_scaling = Math.log(avgNumThreads)+1.0;
20 case 70 /* log */: return U.toNum(Math.log(U.toReal(x)));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.