Engine inaccuracies with modulo

Not weird at all. That’s how floating point math works. That’s why there are “Nearly Equal” nodes. Good rule of thumb is never comparing floats by simple == operator.