How to find modulo of negative floating point number?

$\begingroup$

I'm studying Hill Cipher and I tried to calculate the key.here's the problem

The problem is I get -ve floating point numbers. How can I get the mod 26 of them?

For example, what's the value of (-11/121) mod 26?

$\endgroup$ 7 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like