diff -r 000000000000 -r 6474c204b198 js/src/devtools/jint/sunspider/math-spectral-norm.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/devtools/jint/sunspider/math-spectral-norm.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,67 @@ +// The Great Computer Language Shootout +// http://shootout.alioth.debian.org/ +// +// contributed by Ian Osgood + +function A(i,j) { + return 1/((i+j)*(i+j+1)/2+i+1); +} + +function Au(u,v) { + /* BEGIN LOOP */ + for (var i=0; i