sign_not_zero
sign_not_zero(v) ⇒ number
Same as C "sign" function, but in case of input value being 0, returns +1
Kind: global function
Param | Type |
---|---|
v | number |
number
Same as C "sign" function, but in case of input value being 0, returns +1
Kind: global function
Param | Type |
---|---|
v | number |