this doesn't do what I need unfortunately. see crude plot! black = raw %, red = % with abs, blue = % with +100 shift see how abs makes it flip in the middlepic.twitter.com/cV0EcbCCA5
-
-
How about ((q%3)+3)%3? I tried to simulate the weird behaviour you mentioned in Python. I've encountered it somewhere too. I quests C# has an strange mod operator. And the solution above did it for me.
-
sure that does it. but i'm more likely to remember q+100 :)
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.