Am 06/14/2011 03:39 PM, schrieb [email protected]:

Greetings.

I'm not having much luck finding this, and it's been a long time since college math, so I thought I'd throw it at you folks and cross my fingers...

I'm looking for an algorithm that reverses the modulo function. That is, if x = y % 256, given x, what is y?

Hi,

there is no single result for your equation since there is an unlimited number of solutions.
In fact any number
        y=n*256 + x
will be a solution for you equation

Markus
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to