MCPcopy Create free account
hub / github.com/PacktPublishing/Learning-Go-Programming / divmod

Function divmod

ch05/divide.go:25–32  ·  view source on GitHub ↗

* A Euclidian division adapted from the Wikipedia entry http://en.wikipedia.org/wiki/Division_algorithm. You also can find other implementations in the Go libraries https://golang.org/src/pkg/math/big/int.go // This version only works if dividend and divisor > 0. // other conditions may cause panic

(dvdn, dvsr int)

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