Modulo that 'wraps' the number?

faissaloo faissaloo at gmail.com
Sun Jan 20 18:28:34 UTC 2019


In Python -1%3 == 2 however in D -1%3 == -1
Is there a standard library function or something that gives me 
the Python version of modulo?


More information about the Digitalmars-d-learn mailing list