| Index: test/mjsunit/asm/math-abs.js
|
| diff --git a/test/mjsunit/asm/math-abs.js b/test/mjsunit/asm/math-abs.js
|
| index 6387749e0326c8e40834cfa7872efd65a1b097fe..bf7c7d07eabcb64b7505aaf4afe0b431ac1af0c0 100644
|
| --- a/test/mjsunit/asm/math-abs.js
|
| +++ b/test/mjsunit/asm/math-abs.js
|
| @@ -15,14 +15,14 @@ function Module(stdlib) {
|
|
|
| // g: unsigned -> double
|
| function g(a) {
|
| - a = a>>>0;
|
| - return +abs(a);
|
| + a = a | 0;
|
| + return +abs(+(a >>> 0));
|
| }
|
|
|
| // h: signed -> double
|
| function h(a) {
|
| a = a|0;
|
| - return +abs(a);
|
| + return +abs(+(a | 0));
|
| }
|
|
|
| return { f: f, g: g, h: h };
|
|
|