copysign
copysign(x, y) ⇒ number
Returns a value with the magnitude of x and the sign of y. NOTE: a port of c++ method from tgmath.h
Kind: global function
| Param | Type | Description |
|---|---|---|
| x | number | |
| y | number | take sign from this value |
numberReturns a value with the magnitude of x and the sign of y. NOTE: a port of c++ method from tgmath.h
Kind: global function
| Param | Type | Description |
|---|---|---|
| x | number | |
| y | number | take sign from this value |