MCPcopy Create free account
hub / github.com/cockroachdb/apd / roundHalfDown

Function roundHalfDown

round.go:195–197  ·  view source on GitHub ↗
(result *BigInt, neg bool, half int)

Source from the content-addressed store, hash-verified

193}
194
195func roundHalfDown(result *BigInt, neg bool, half int) bool {
196 return half > 0
197}
198
199func roundFloor(result *BigInt, neg bool, half int) bool {
200 return neg

Callers 1

ShouldAddOneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…