Please disregard my ineptly posed question.
~K
In kj writes:
>I define
>ninv = 1.0/n
>...where n is some integer, and I want to write some function f such
>that f(m * ninv) returns the smallest integer that is >= m * ninv,
>where m is some other integer. And, in particular, if m is p*n
I define
ninv = 1.0/n
...where n is some integer, and I want to write some function f such
that f(m * ninv) returns the smallest integer that is >= m * ninv,
where m is some other integer. And, in particular, if m is p*n
for some integer p, then f((p*n) * ninv) should return the integer
p.