Thanks, man. I went to a secondary school famous for high quality of its maths teaching/students and was in the top set, yet thanks to a f***ed up old vicar (head of maths!) was never taught basic stuff like that - he was too busy doing 2nd-year undergraduate teaching, and had a rule: Any student who was so stupid and lazy they took notes during his class was thrown out (literally: I saw him once pick up a 16 stone lad (who was one of the top rugby players in the school) one-handed, and actually *throw* him out the door in a fit of righteous (holy? unholy?) rage.

LOL. Oh, yeah, we weren't allowed text-books either; I think he considered them somewhere near to "spawn of Satan" in the wider scheme of things. No notes and no textbooks made life...well, kinda tricky.

EDIT: so stuff like this I didn't find out until undergrad courses, and it will forever be kind of "new" to me...

Remember that the accuracy requirements for the Math package mean that simply writing log2(x) as log(x)/log(2) would probably not be sufficient. Thus this apparently simple task of implementing log2 is rather more complex than it first appears (at least for Java implementors). Sun probably don't have the resources to implement all the proposed math methods in the Tiger time frame, to the accuracy required by the specification and the performance we would like to expect.

As to log10 vs log2, I think log10 was the correct choice. It remains the most commonly understood form of logarithm outside specialist communities.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org