Bug 1925181 - Properly set small alloc randomization on Android content processes...
[gecko.git] / js / src / tests / test262 / built-ins / Math / sin / zero.js
blobe46664c047e8ec65805bd98c7999934a1d81c306
1 // Copyright 2009 the Sputnik authors.  All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 es5id: 15.8.2.16_A3
6 description: Return arg if -0 or +0
7 ---*/
9 assert.sameValue(Math.sin(0), 0, "+0");
10 assert.sameValue(Math.sin(-0), -0, "-0");
12 reportCompare(0, 0);