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

Method signum

Processing/game2dai/maths/FastMath.java:649–651  ·  view source on GitHub ↗

Compute the signum of a number. The signum is -1 for negative numbers, +1 for positive numbers and 0 otherwise @param a number on which evaluation is done @return -1.0, -0.0, +0.0, +1.0 or NaN depending on sign of a

(final double a)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected