Sign in
apache
/
nifi-fds
/
954e729fbbf531ccabbbc6d1c1c2ea6135b371eb
/
.
/
node_modules
/
jszip
/
node_modules
/
core-js
/
library
/
modules
/
_math-sign.js
blob: a4848df600e71d27f7e1c7b602b0eb2d18df4066 [
file
] [
log
] [
blame
]
// 20.2.2.28 Math.sign(x)
module
.
exports
=
Math
.
sign
||
function
sign
(
x
){
return
(
x
=
+
x
)
==
0
||
x
!=
x
?
x
:
x
<
0
?
-
1
:
1
;
};