{"action":"created","issue":{"url":"https://api.github.com/repos/bwakell/Huldra/issues/4","repository_url":"https://api.github.com/repos/bwakell/Huldra","labels_url":"https://api.github.com/repos/bwakell/Huldra/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/bwakell/Huldra/issues/4/comments","events_url":"https://api.github.com/repos/bwakell/Huldra/issues/4/events","html_url":"https://github.com/bwakell/Huldra/issues/4","id":169080379,"number":4,"title":"isZero is not working properly","user":{"login":"koldat","id":16866502,"avatar_url":"https://avatars.githubusercontent.com/u/16866502?v=3","gravatar_id":"","url":"https://api.github.com/users/koldat","html_url":"https://github.com/koldat","followers_url":"https://api.github.com/users/koldat/followers","following_url":"https://api.github.com/users/koldat/following{/other_user}","gists_url":"https://api.github.com/users/koldat/gists{/gist_id}","starred_url":"https://api.github.com/users/koldat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koldat/subscriptions","organizations_url":"https://api.github.com/users/koldat/orgs","repos_url":"https://api.github.com/users/koldat/repos","events_url":"https://api.github.com/users/koldat/events{/privacy}","received_events_url":"https://api.github.com/users/koldat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-03T08:53:57Z","updated_at":"2016-08-03T10:12:14Z","closed_at":null,"body":"When you have 0 in BigInt and add(0L) it is resized thus isZero is not working. It should probably be:\r\n    public boolean isZero() {\r\n        for (int i = 0; i < len; i++) {\r\n            if (dig[i] != 0) {\r\n                return false;\r\n            }\r\n        }\r\n        return true;\r\n    }\r\n"},"comment":{"url":"https://api.github.com/repos/bwakell/Huldra/issues/comments/237198390","html_url":"https://github.com/bwakell/Huldra/issues/4#issuecomment-237198390","issue_url":"https://api.github.com/repos/bwakell/Huldra/issues/4","id":237198390,"user":{"login":"bwakell","id":1362321,"avatar_url":"https://avatars.githubusercontent.com/u/1362321?v=3","gravatar_id":"","url":"https://api.github.com/users/bwakell","html_url":"https://github.com/bwakell","followers_url":"https://api.github.com/users/bwakell/followers","following_url":"https://api.github.com/users/bwakell/following{/other_user}","gists_url":"https://api.github.com/users/bwakell/gists{/gist_id}","starred_url":"https://api.github.com/users/bwakell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwakell/subscriptions","organizations_url":"https://api.github.com/users/bwakell/orgs","repos_url":"https://api.github.com/users/bwakell/repos","events_url":"https://api.github.com/users/bwakell/events{/privacy}","received_events_url":"https://api.github.com/users/bwakell/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T10:12:14Z","updated_at":"2016-08-03T10:12:14Z","body":"Nicely spotted.\r\nI'd however argue that the issue is in uaddMag(), since the class kind of relies on the invariant that there should be no leading zeroes.\r\n\r\n(I'll try to fix this bug and some others once I get time. Maybe this weekend?)"}}
{"actor":{"display_login":"bwakell"}}