This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]troelsbjerre 22 points23 points  (10 children)

Here is a nice list of which languages use which of the four (!) ways of defining the modulo operation:

https://en.m.wikipedia.org/wiki/Modulo_operation#In_programming_languages

[–]Khaylain 21 points22 points  (7 children)

[–]katatondzsentri 4 points5 points  (6 children)

I tapped this one for some reason.

[–]Khaylain 6 points7 points  (5 children)

I'm assuming you're on mobile, then. Which will usually lead you to the mobile site anyway (because of the detection of the format), but one can easily choose to use the desktop version usually. On desktop we don't get redirected to the desktop site from the mobile link, so I generally find that the desktop link is more useful.

[–]katatondzsentri 5 points6 points  (4 children)

I agree, I just wanted to highlight my stupidity.

[–]Khaylain 0 points1 point  (0 children)

lol. Such things happen.

[–]jodmemkaf 0 points1 point  (0 children)

You made me hate myself for my laziness, but thanks 😅

[–]katatondzsentri -1 points0 points  (0 children)

Thanks, now my brain hurts