michael@0: // Copyright 2009 the Sputnik authors. All rights reserved. michael@0: // This code is governed by the BSD license found in the LICENSE file. michael@0: michael@0: /** michael@0: * -Infinity is the same as Number.NEGATIVE_INFINITY michael@0: * michael@0: * @path ch08/8.5/S8.5_A12.2.js michael@0: * @description Compare -Infinity with Number.NEGATIVE_INFINITY michael@0: */ michael@0: michael@0: var n_inf=-Infinity; michael@0: michael@0: //CHECK #1 michael@0: if (n_inf !== Number.NEGATIVE_INFINITY){ michael@0: $ERROR('#1: -Infinity is the same as Number.NEGATIVE_INFINITY'); michael@0: } michael@0: