We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe4a349 commit 98d82bcCopy full SHA for 98d82bc
ch07/Tables.java
@@ -41,11 +41,11 @@ public static void example2() {
41
}
42
43
public static void example3() {
44
- final double log2 = Math.log(2);
+ final double LOG2 = Math.log(2);
45
int i = 1;
46
while (i < 100) {
47
double x = (double) i;
48
- System.out.println(x + " " + Math.log(x) / log2);
+ System.out.println(x + " " + Math.log(x) / LOG2);
49
i = i * 2;
50
51
0 commit comments