2 ms·
Java sin and cos might not be using the machine hardware. Plain vanilla use of Math.sin and Math.cos = 9.15s Constrain to the range +45 to -45 degrees = 4.88s
by igouy 17y ago
Java sin and cos might not be using the machine hardware.
Plain vanilla use of Math.sin and Math.cos = 9.15s
Constrain to the range +45 to -45 degrees = 4.88s
As demonstrated 20 months ago http://shootout.alioth.debian.org/gp4/program.php?test=partialsums&lang=java&id=4 http://shootout.alioth.debian.org/gp4/program.php?test=parti...