MCPcopy Create free account
hub / github.com/corestoreio/pkg / Sign

Function Sign

util/validation/numerics.go:35–43  ·  view source on GitHub ↗

Sign returns signum of number: 1 in case of value > 0, -1 in case of value < 0, 0 otherwise

(value float64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSignFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestSignFunction · 0.68