// Copyright (C) 2016 ecmascript_simd authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- esid: simd-not description: Tests the unary not operation. includes: [simdUtilities.js] ---*/ simdTypes.filter(isIntType).forEach(function(type) { testSimdFunction(type.name + ' not', function() { testUnaryOp(type, 'not', function(a) { return ~a; }); }); }); simdTypes.filter(isBoolType).forEach(function(type) { testSimdFunction(type.name + ' not', function() { testUnaryOp(type, 'not', function(a) { return !a; }); }); });