Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98d82bc

Browse filesBrowse files
committed
read through ch07
1 parent fe4a349 commit 98d82bc
Copy full SHA for 98d82bc

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎ch07/Tables.java‎

Copy file name to clipboardExpand all lines: ch07/Tables.java
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.