Skip to content

Commit 98d82bc

Browse files
committed
read through ch07
1 parent fe4a349 commit 98d82bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch07/Tables.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ public static void example2() {
4141
}
4242

4343
public static void example3() {
44-
final double log2 = Math.log(2);
44+
final double LOG2 = Math.log(2);
4545
int i = 1;
4646
while (i < 100) {
4747
double x = (double) i;
48-
System.out.println(x + " " + Math.log(x) / log2);
48+
System.out.println(x + " " + Math.log(x) / LOG2);
4949
i = i * 2;
5050
}
5151
}

0 commit comments

Comments
 (0)