Desynced Feedback

Search
IDRatingCategoryDescriptionScreenshotDate
3873🙂BugThere is a misconception about modulo calculations. Behaviour name says "modulo", but documentation says "remainder", which is not strictly the same in mathematical sense - this makes difference for negative numbers. The behaviour calculates >modulo<.
For modulo: -8 mod 7 = 6
For remainder: -8 % 7 = -1
See:
https://math.stackexchange.com/questions/2179579/how-can-i-find-a-mod-with-negative-number
vs:
https://stackoverflow.com/questions/4467539/javascript-modulo-gives-a-negative-result-for-negative-numbers
 2024-01-17 02:42:43

IDReplyAuthorDate

EULA    |    Privacy Policy    |    Presskit


© 2025 Stage Games • All rights reserved