{"action":"created","issue":{"url":"https://api.github.com/repos/wbhart/mpir/issues/173","repository_url":"https://api.github.com/repos/wbhart/mpir","labels_url":"https://api.github.com/repos/wbhart/mpir/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/wbhart/mpir/issues/173/comments","events_url":"https://api.github.com/repos/wbhart/mpir/issues/173/events","html_url":"https://github.com/wbhart/mpir/issues/173","id":177540524,"number":173,"title":"mpz_get_si() behaviour","user":{"login":"mkskeller","id":20222909,"avatar_url":"https://avatars.githubusercontent.com/u/20222909?v=3","gravatar_id":"","url":"https://api.github.com/users/mkskeller","html_url":"https://github.com/mkskeller","followers_url":"https://api.github.com/users/mkskeller/followers","following_url":"https://api.github.com/users/mkskeller/following{/other_user}","gists_url":"https://api.github.com/users/mkskeller/gists{/gist_id}","starred_url":"https://api.github.com/users/mkskeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkskeller/subscriptions","organizations_url":"https://api.github.com/users/mkskeller/orgs","repos_url":"https://api.github.com/users/mkskeller/repos","events_url":"https://api.github.com/users/mkskeller/events{/privacy}","received_events_url":"https://api.github.com/users/mkskeller/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-16T23:33:53Z","updated_at":"2016-12-16T11:12:47Z","closed_at":null,"body":"mpz_get_si() doesn't preserve the sign any more in some cases.\n\n```\n  mpz_class a = 1;\n  a <<= 63;\n  cout << a << \" \" << a.get_si() << endl;\n```\n\nAbove code outputs \n`9223372036854775808 -9223372036854775808`\nbut in version 2.5 it used to output\n`9223372036854775808 0`\n"},"comment":{"url":"https://api.github.com/repos/wbhart/mpir/issues/comments/267572248","html_url":"https://github.com/wbhart/mpir/issues/173#issuecomment-267572248","issue_url":"https://api.github.com/repos/wbhart/mpir/issues/173","id":267572248,"user":{"login":"wbhart","id":242598,"avatar_url":"https://avatars.githubusercontent.com/u/242598?v=3","gravatar_id":"","url":"https://api.github.com/users/wbhart","html_url":"https://github.com/wbhart","followers_url":"https://api.github.com/users/wbhart/followers","following_url":"https://api.github.com/users/wbhart/following{/other_user}","gists_url":"https://api.github.com/users/wbhart/gists{/gist_id}","starred_url":"https://api.github.com/users/wbhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbhart/subscriptions","organizations_url":"https://api.github.com/users/wbhart/orgs","repos_url":"https://api.github.com/users/wbhart/repos","events_url":"https://api.github.com/users/wbhart/events{/privacy}","received_events_url":"https://api.github.com/users/wbhart/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T11:12:47Z","updated_at":"2016-12-16T11:12:47Z","body":"Indeed."}}
{"actor":{"display_login":"wbhart"}}