Four is magic: Difference between revisions
m
→{{header|UNIX Shell}}
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
|