{"action":"created","issue":{"url":"https://api.github.com/repos/kuina/Kuin/issues/94","repository_url":"https://api.github.com/repos/kuina/Kuin","labels_url":"https://api.github.com/repos/kuina/Kuin/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/kuina/Kuin/issues/94/comments","events_url":"https://api.github.com/repos/kuina/Kuin/issues/94/events","html_url":"https://github.com/kuina/Kuin/pull/94","id":335072552,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2ODg0Mzkx","number":94,"title":"Fix integer overflow of 'math@lcm' function","user":{"login":"kuretchi","id":21314465,"node_id":"MDQ6VXNlcjIxMzE0NDY1","avatar_url":"https://avatars3.githubusercontent.com/u/21314465?v=4","gravatar_id":"","url":"https://api.github.com/users/kuretchi","html_url":"https://github.com/kuretchi","followers_url":"https://api.github.com/users/kuretchi/followers","following_url":"https://api.github.com/users/kuretchi/following{/other_user}","gists_url":"https://api.github.com/users/kuretchi/gists{/gist_id}","starred_url":"https://api.github.com/users/kuretchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuretchi/subscriptions","organizations_url":"https://api.github.com/users/kuretchi/orgs","repos_url":"https://api.github.com/users/kuretchi/repos","events_url":"https://api.github.com/users/kuretchi/events{/privacy}","received_events_url":"https://api.github.com/users/kuretchi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-23T06:03:42Z","updated_at":"2018-06-24T05:38:59Z","closed_at":"2018-06-24T05:37:09Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kuina/Kuin/pulls/94","html_url":"https://github.com/kuina/Kuin/pull/94","diff_url":"https://github.com/kuina/Kuin/pull/94.diff","patch_url":"https://github.com/kuina/Kuin/pull/94.patch"},"body":"現在の `math@lcm` の実装は，`a` と `b` の最小公倍数が `int` で表現できる大きさであっても，`a * b` がオーバーフローする場合は正しい結果を返さないようなので，これを修正しました。\r\n\r\n```\r\nfunc main()\r\n  do cui@print(\"\\{math@lcm(20000000000, 30000000000)}\")\r\n  ; 修正前: -874255443\r\n  ; 修正後: 60000000000\r\nend func\r\n```"},"comment":{"url":"https://api.github.com/repos/kuina/Kuin/issues/comments/399731109","html_url":"https://github.com/kuina/Kuin/pull/94#issuecomment-399731109","issue_url":"https://api.github.com/repos/kuina/Kuin/issues/94","id":399731109,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTczMTEwOQ==","user":{"login":"kuina","id":1777903,"node_id":"MDQ6VXNlcjE3Nzc5MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1777903?v=4","gravatar_id":"","url":"https://api.github.com/users/kuina","html_url":"https://github.com/kuina","followers_url":"https://api.github.com/users/kuina/followers","following_url":"https://api.github.com/users/kuina/following{/other_user}","gists_url":"https://api.github.com/users/kuina/gists{/gist_id}","starred_url":"https://api.github.com/users/kuina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuina/subscriptions","organizations_url":"https://api.github.com/users/kuina/orgs","repos_url":"https://api.github.com/users/kuina/repos","events_url":"https://api.github.com/users/kuina/events{/privacy}","received_events_url":"https://api.github.com/users/kuina/received_events","type":"User","site_admin":false},"created_at":"2018-06-24T05:38:59Z","updated_at":"2018-06-24T05:38:59Z","author_association":"OWNER","body":"修正ありがとうございました！\r\n確かに必ず割り切れるため、除算を先にすべきでしたね。"}}
{"actor":{"display_login":"kuina"}}