{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/847","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/847/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/847/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/847/events","html_url":"https://github.com/KSP-KOS/KOS/issues/847","id":69219643,"number":847,"title":"[documentation] mod function from \"math\" module doesn't actually follow \"mathematical\" defenition of modulo","user":{"login":"abenkovskii","id":11031560,"avatar_url":"https://avatars.githubusercontent.com/u/11031560?v=3","gravatar_id":"","url":"https://api.github.com/users/abenkovskii","html_url":"https://github.com/abenkovskii","followers_url":"https://api.github.com/users/abenkovskii/followers","following_url":"https://api.github.com/users/abenkovskii/following{/other_user}","gists_url":"https://api.github.com/users/abenkovskii/gists{/gist_id}","starred_url":"https://api.github.com/users/abenkovskii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abenkovskii/subscriptions","organizations_url":"https://api.github.com/users/abenkovskii/orgs","repos_url":"https://api.github.com/users/abenkovskii/repos","events_url":"https://api.github.com/users/abenkovskii/events{/privacy}","received_events_url":"https://api.github.com/users/abenkovskii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-17T21:21:15Z","updated_at":"2015-04-18T07:20:29Z","closed_at":"2015-04-18T07:09:15Z","body":"In mathematics modulo is always positive. But in C#, kOS and a bunch of other languages the result of modulo operation has the same sign as dividend. It is normal but it should be documented properly. I'll make a PR about that soon.\r\nP.S. In some other languages the result of modulo operation has the same sign as divisor."},"comment":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments/94138347","html_url":"https://github.com/KSP-KOS/KOS/issues/847#issuecomment-94138347","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/847","id":94138347,"user":{"login":"Dunbaratu","id":5216848,"avatar_url":"https://avatars.githubusercontent.com/u/5216848?v=3","gravatar_id":"","url":"https://api.github.com/users/Dunbaratu","html_url":"https://github.com/Dunbaratu","followers_url":"https://api.github.com/users/Dunbaratu/followers","following_url":"https://api.github.com/users/Dunbaratu/following{/other_user}","gists_url":"https://api.github.com/users/Dunbaratu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dunbaratu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dunbaratu/subscriptions","organizations_url":"https://api.github.com/users/Dunbaratu/orgs","repos_url":"https://api.github.com/users/Dunbaratu/repos","events_url":"https://api.github.com/users/Dunbaratu/events{/privacy}","received_events_url":"https://api.github.com/users/Dunbaratu/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T07:20:29Z","updated_at":"2015-04-18T07:20:29Z","body":"Sorry I'm sleepy - I didn't notice it was already merged.  We've been fighting with video editing software.\r\n"}}