Jump to content

Magic constant: Difference between revisions

m
Minor code improvement.
(New post.)
m (Minor code improvement.)
Line 812:
// Return the order of the magic square at the given index
private static int order(int aIndex) {
return aIndexORDER_FIRST_MAGIC_SQUARE + 2aIndex - 1;
}
private static final int ORDER_FIRST_MAGIC_SQUARE = 3;
private static final double LN2 = Math.log(2.0);
private static final double LN10 = Math.log(10.0);
902

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.