On Wednesday 31 December 2008 09:03, Dave Griffith wrote: > Note, however, that your JVM may very well know that > java.lang.Math.log (0.5) is a constant, and optimize the calculation > out of the JIT compiled code. This wouldn't show up in the > bytecode, and is extremely difficult to actually check. Whether or > not any JVM actually does this probably depends on whether such a > call occurs any any popular floating-point benchmark suites.
How would the JVM know that? Are there annotations to that effect? Randall Schulz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---