value range propagation for %

Matthias Walter xammy at xammy.homelinux.net
Sat Nov 27 10:30:31 PST 2010


On 11/27/2010 12:54 PM, Ellery Newcomer wrote:
> Hello.
>
> Today I've been thinking about calculating the range of values for
>
> x % y
>
You might want to state the problem more precisely. What exactly is a
"range of values x % y" ? Do you look at the result for x,y in some
sets? Or is either x or y fixed? From your example I would suppose that
x shall be fixed and y goes through a range?!

Matthias


More information about the Digitalmars-d mailing list