MCPcopy Create free account
hub / github.com/dabing1022/Blog / copySign

Method copySign

Processing/game2dai/maths/FastMath.java:4005–4012  ·  view source on GitHub ↗

Returns the first argument with the sign of the second argument. A NaN sign argument is treated as positive. @param magnitude the value to return @param sign the sign for the returned value @return the magnitude with the same sign as the sign argument

(double magnitude, double sign)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

atanMethod · 0.95
atan2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected