-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
i'm quite unsure if i'm misunderstanding something... modulo, the '%' operator
the example says:
Interval.fmod(
Interval(5, 7),
Interval(2, 3)
) // Interval(2, 5)
// explanation: [5, 7] - [2, 3] * 1 = [2, 5]
if we pick 6 in [5,7], 3 in [2,3], we get 6%3==0 out of the result interval [2,5].
"for a fixed integral quotient"..? but what if the quotient is variable? maybe we need a function under another name?
btw, consider interval gcd, also pow of negative number with rational exponent, seems they all depend on the fmod.
Metadata
Metadata
Assignees
Labels
No labels