Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit ddfe45a

Browse files
committed
Merge pull request #325 from stoklund/test-unary-abs
Test abs() as a unary function.
2 parents d4e18f6 + 5a00f09 commit ddfe45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/ecmascript_simd_tests.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ simdTypes.filter(isFloatType).forEach(function(type) {
908908
testBinaryOp(type, 'div', function(a, b) { return a / b; });
909909
});
910910
test(type.name + ' abs', function() {
911-
testBinaryOp(type, 'abs', Math.abs);
911+
testUnaryOp(type, 'abs', Math.abs);
912912
});
913913
test(type.name + ' min', function() {
914914
testBinaryOp(type, 'min', Math.min);

0 commit comments

Comments
 (0)