Sign in
apache
/
cordova-osx
/
6d00379c5b0ff30714987ad3172e30356620105b
/
.
/
node_modules
/
nyc
/
node_modules
/
core-js
/
library
/
modules
/
_math-sign.js
blob: 7a46b9d0885607a51c6c2fd0705008e1c14fec73 [
file
] [
log
] [
blame
]
// 20.2.2.28 Math.sign(x)
module
.
exports
=
Math
.
sign
||
function
sign
(
x
)
{
// eslint-disable-next-line no-self-compare
return
(
x
=
+
x
)
==
0
||
x
!=
x
?
x
:
x
<
0
?
-
1
:
1
;
};