Four is magic: Difference between revisions

m
Line 2,209:
 
# if we found one, split on it and construct quotient 'name' remainder
# since both quotient and remainder require recursion, we can't use
# tail-recursion for both.
if (( n >= p )); then
local -i quotient=n/p
1,480

edits