MCPcopy Create free account
hub / github.com/andeya/algorithm / SchoolDivide

Function SchoolDivide

schoolcalc/schoolcalc/schoolcalc.go:42–201  ·  view source on GitHub ↗

SchoolDivide accepts two strings and will return the result and intermediate remainders. dividend and divisor are strings, both may contain fractions denoted by '.' prec set's the precision, see Calculation specifiers

(dividend, divisor string, prec uint8)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSchoolDivisionFunction · 0.85

Calls 5

CmpMethod · 0.80
StringMethod · 0.65
AddMethod · 0.65
DivMethod · 0.45
MulMethod · 0.45

Tested by 1

TestSchoolDivisionFunction · 0.68