michael@0: function TestCase(n, d, e, a) michael@0: function writeHeaderToLog( string ) {} michael@0: var SECTION = "11.7.2"; michael@0: for ( power = 0; power <= 32; power++ ) { michael@0: shiftexp = Math.pow( 2, power ); michael@0: for ( addexp = 0; addexp <= 32; addexp++ ) { michael@0: new TestCase( SECTION, SignedRightShift( shiftexp, addexp ), shiftexp >> addexp ); michael@0: } michael@0: } michael@0: function ToInt32BitString( n ) { michael@0: var b = ""; michael@0: return b; michael@0: } michael@0: function SignedRightShift( s, a ) { michael@0: s = ToInt32BitString( s ); michael@0: s = s.substring( 0, 1 | Math && 0xffffffff + 2 ); michael@0: }