{"action":"created","comment":{"url":"https://api.github.com/repos/aicis/fresco/pulls/comments/171541626","pull_request_review_id":100400218,"id":171541626,"diff_hunk":"@@ -0,0 +1,73 @@\n+package dk.alexandra.fresco.decimal.fixed.utils;\n+\n+import dk.alexandra.fresco.framework.DRes;\n+import dk.alexandra.fresco.framework.builder.Computation;\n+import dk.alexandra.fresco.framework.builder.numeric.AdvancedNumeric;\n+import dk.alexandra.fresco.framework.builder.numeric.AdvancedNumeric.RandomAdditiveMask;\n+import dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric;\n+import dk.alexandra.fresco.framework.util.Pair;\n+import dk.alexandra.fresco.framework.value.SInt;\n+import dk.alexandra.fresco.lib.math.integer.binary.RightShift;\n+import java.math.BigInteger;\n+\n+/**\n+ * Returns a number which is approximately the input shifted a number of positions to the right. The\n+ * result will be one larger than the exact result with some non negligeble propability. If you need","path":"tools/fixedpointarithmetic/src/main/java/dk/alexandra/fresco/decimal/fixed/utils/Truncate.java","position":15,"original_position":15,"commit_id":"e702cf2ca23572f1749b473b4984b13359125eb6","original_commit_id":"cb6c0e3d8e81ea7b8411b6d392513e18e78122f7","user":{"login":"pffrandsen","id":25175829,"avatar_url":"https://avatars3.githubusercontent.com/u/25175829?v=4","gravatar_id":"","url":"https://api.github.com/users/pffrandsen","html_url":"https://github.com/pffrandsen","followers_url":"https://api.github.com/users/pffrandsen/followers","following_url":"https://api.github.com/users/pffrandsen/following{/other_user}","gists_url":"https://api.github.com/users/pffrandsen/gists{/gist_id}","starred_url":"https://api.github.com/users/pffrandsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pffrandsen/subscriptions","organizations_url":"https://api.github.com/users/pffrandsen/orgs","repos_url":"https://api.github.com/users/pffrandsen/repos","events_url":"https://api.github.com/users/pffrandsen/events{/privacy}","received_events_url":"https://api.github.com/users/pffrandsen/received_events","type":"User","site_admin":false},"body":"non negligeble\r\nis in need of an a and a dash (-)","created_at":"2018-03-01T12:20:09Z","updated_at":"2018-03-01T12:31:53Z","html_url":"https://github.com/aicis/fresco/pull/244#discussion_r171541626","pull_request_url":"https://api.github.com/repos/aicis/fresco/pulls/244","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/aicis/fresco/pulls/comments/171541626"},"html":{"href":"https://github.com/aicis/fresco/pull/244#discussion_r171541626"},"pull_request":{"href":"https://api.github.com/repos/aicis/fresco/pulls/244"}}},"pull_request":{"url":"https://api.github.com/repos/aicis/fresco/pulls/244","id":171918638,"html_url":"https://github.com/aicis/fresco/pull/244","diff_url":"https://github.com/aicis/fresco/pull/244.diff","patch_url":"https://github.com/aicis/fresco/pull/244.patch","issue_url":"https://api.github.com/repos/aicis/fresco/issues/244","number":244,"state":"open","locked":false,"title":"Fixed point arithmetic","user":{"login":"jonas-lj","id":6288307,"avatar_url":"https://avatars1.githubusercontent.com/u/6288307?v=4","gravatar_id":"","url":"https://api.github.com/users/jonas-lj","html_url":"https://github.com/jonas-lj","followers_url":"https://api.github.com/users/jonas-lj/followers","following_url":"https://api.github.com/users/jonas-lj/following{/other_user}","gists_url":"https://api.github.com/users/jonas-lj/gists{/gist_id}","starred_url":"https://api.github.com/users/jonas-lj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonas-lj/subscriptions","organizations_url":"https://api.github.com/users/jonas-lj/orgs","repos_url":"https://api.github.com/users/jonas-lj/repos","events_url":"https://api.github.com/users/jonas-lj/events{/privacy}","received_events_url":"https://api.github.com/users/jonas-lj/received_events","type":"User","site_admin":false},"body":"Added functionality for fixed point operations and linear algebra.","created_at":"2018-02-28T10:54:14Z","updated_at":"2018-03-01T12:31:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db8c5093a4581a83c8f05b63c95d20daefc8e2af","assignee":null,"assignees":[],"requested_reviewers":[{"login":"GuutBoy","id":6916414,"avatar_url":"https://avatars0.githubusercontent.com/u/6916414?v=4","gravatar_id":"","url":"https://api.github.com/users/GuutBoy","html_url":"https://github.com/GuutBoy","followers_url":"https://api.github.com/users/GuutBoy/followers","following_url":"https://api.github.com/users/GuutBoy/following{/other_user}","gists_url":"https://api.github.com/users/GuutBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/GuutBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuutBoy/subscriptions","organizations_url":"https://api.github.com/users/GuutBoy/orgs","repos_url":"https://api.github.com/users/GuutBoy/repos","events_url":"https://api.github.com/users/GuutBoy/events{/privacy}","received_events_url":"https://api.github.com/users/GuutBoy/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aicis/fresco/pulls/244/commits","review_comments_url":"https://api.github.com/repos/aicis/fresco/pulls/244/comments","review_comment_url":"https://api.github.com/repos/aicis/fresco/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aicis/fresco/issues/244/comments","statuses_url":"https://api.github.com/repos/aicis/fresco/statuses/e702cf2ca23572f1749b473b4984b13359125eb6","head":{"label":"aicis:fixed-point-arithmetic","ref":"fixed-point-arithmetic","sha":"e702cf2ca23572f1749b473b4984b13359125eb6","user":{"login":"aicis","id":23210753,"avatar_url":"https://avatars1.githubusercontent.com/u/23210753?v=4","gravatar_id":"","url":"https://api.github.com/users/aicis","html_url":"https://github.com/aicis","followers_url":"https://api.github.com/users/aicis/followers","following_url":"https://api.github.com/users/aicis/following{/other_user}","gists_url":"https://api.github.com/users/aicis/gists{/gist_id}","starred_url":"https://api.github.com/users/aicis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aicis/subscriptions","organizations_url":"https://api.github.com/users/aicis/orgs","repos_url":"https://api.github.com/users/aicis/repos","events_url":"https://api.github.com/users/aicis/events{/privacy}","received_events_url":"https://api.github.com/users/aicis/received_events","type":"Organization","site_admin":false},"repo":{"id":46789213,"name":"fresco","full_name":"aicis/fresco","owner":{"login":"aicis","id":23210753,"avatar_url":"https://avatars1.githubusercontent.com/u/23210753?v=4","gravatar_id":"","url":"https://api.github.com/users/aicis","html_url":"https://github.com/aicis","followers_url":"https://api.github.com/users/aicis/followers","following_url":"https://api.github.com/users/aicis/following{/other_user}","gists_url":"https://api.github.com/users/aicis/gists{/gist_id}","starred_url":"https://api.github.com/users/aicis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aicis/subscriptions","organizations_url":"https://api.github.com/users/aicis/orgs","repos_url":"https://api.github.com/users/aicis/repos","events_url":"https://api.github.com/users/aicis/events{/privacy}","received_events_url":"https://api.github.com/users/aicis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aicis/fresco","description":"A FRamework for Efficient Secure COmputation","fork":false,"url":"https://api.github.com/repos/aicis/fresco","forks_url":"https://api.github.com/repos/aicis/fresco/forks","keys_url":"https://api.github.com/repos/aicis/fresco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aicis/fresco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aicis/fresco/teams","hooks_url":"https://api.github.com/repos/aicis/fresco/hooks","issue_events_url":"https://api.github.com/repos/aicis/fresco/issues/events{/number}","events_url":"https://api.github.com/repos/aicis/fresco/events","assignees_url":"https://api.github.com/repos/aicis/fresco/assignees{/user}","branches_url":"https://api.github.com/repos/aicis/fresco/branches{/branch}","tags_url":"https://api.github.com/repos/aicis/fresco/tags","blobs_url":"https://api.github.com/repos/aicis/fresco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aicis/fresco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aicis/fresco/git/refs{/sha}","trees_url":"https://api.github.com/repos/aicis/fresco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aicis/fresco/statuses/{sha}","languages_url":"https://api.github.com/repos/aicis/fresco/languages","stargazers_url":"https://api.github.com/repos/aicis/fresco/stargazers","contributors_url":"https://api.github.com/repos/aicis/fresco/contributors","subscribers_url":"https://api.github.com/repos/aicis/fresco/subscribers","subscription_url":"https://api.github.com/repos/aicis/fresco/subscription","commits_url":"https://api.github.com/repos/aicis/fresco/commits{/sha}","git_commits_url":"https://api.github.com/repos/aicis/fresco/git/commits{/sha}","comments_url":"https://api.github.com/repos/aicis/fresco/comments{/number}","issue_comment_url":"https://api.github.com/repos/aicis/fresco/issues/comments{/number}","contents_url":"https://api.github.com/repos/aicis/fresco/contents/{+path}","compare_url":"https://api.github.com/repos/aicis/fresco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aicis/fresco/merges","archive_url":"https://api.github.com/repos/aicis/fresco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aicis/fresco/downloads","issues_url":"https://api.github.com/repos/aicis/fresco/issues{/number}","pulls_url":"https://api.github.com/repos/aicis/fresco/pulls{/number}","milestones_url":"https://api.github.com/repos/aicis/fresco/milestones{/number}","notifications_url":"https://api.github.com/repos/aicis/fresco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aicis/fresco/labels{/name}","releases_url":"https://api.github.com/repos/aicis/fresco/releases{/id}","deployments_url":"https://api.github.com/repos/aicis/fresco/deployments","created_at":"2015-11-24T12:05:17Z","updated_at":"2018-02-23T19:01:23Z","pushed_at":"2018-03-01T12:17:30Z","git_url":"git://github.com/aicis/fresco.git","ssh_url":"git@github.com:aicis/fresco.git","clone_url":"https://github.com/aicis/fresco.git","svn_url":"https://github.com/aicis/fresco","homepage":null,"size":14803,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":15,"watchers":21,"default_branch":"master"}},"base":{"label":"aicis:master","ref":"master","sha":"d358aae2b067a62113a36d0993cf262451870678","user":{"login":"aicis","id":23210753,"avatar_url":"https://avatars1.githubusercontent.com/u/23210753?v=4","gravatar_id":"","url":"https://api.github.com/users/aicis","html_url":"https://github.com/aicis","followers_url":"https://api.github.com/users/aicis/followers","following_url":"https://api.github.com/users/aicis/following{/other_user}","gists_url":"https://api.github.com/users/aicis/gists{/gist_id}","starred_url":"https://api.github.com/users/aicis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aicis/subscriptions","organizations_url":"https://api.github.com/users/aicis/orgs","repos_url":"https://api.github.com/users/aicis/repos","events_url":"https://api.github.com/users/aicis/events{/privacy}","received_events_url":"https://api.github.com/users/aicis/received_events","type":"Organization","site_admin":false},"repo":{"id":46789213,"name":"fresco","full_name":"aicis/fresco","owner":{"login":"aicis","id":23210753,"avatar_url":"https://avatars1.githubusercontent.com/u/23210753?v=4","gravatar_id":"","url":"https://api.github.com/users/aicis","html_url":"https://github.com/aicis","followers_url":"https://api.github.com/users/aicis/followers","following_url":"https://api.github.com/users/aicis/following{/other_user}","gists_url":"https://api.github.com/users/aicis/gists{/gist_id}","starred_url":"https://api.github.com/users/aicis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aicis/subscriptions","organizations_url":"https://api.github.com/users/aicis/orgs","repos_url":"https://api.github.com/users/aicis/repos","events_url":"https://api.github.com/users/aicis/events{/privacy}","received_events_url":"https://api.github.com/users/aicis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aicis/fresco","description":"A FRamework for Efficient Secure COmputation","fork":false,"url":"https://api.github.com/repos/aicis/fresco","forks_url":"https://api.github.com/repos/aicis/fresco/forks","keys_url":"https://api.github.com/repos/aicis/fresco/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aicis/fresco/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aicis/fresco/teams","hooks_url":"https://api.github.com/repos/aicis/fresco/hooks","issue_events_url":"https://api.github.com/repos/aicis/fresco/issues/events{/number}","events_url":"https://api.github.com/repos/aicis/fresco/events","assignees_url":"https://api.github.com/repos/aicis/fresco/assignees{/user}","branches_url":"https://api.github.com/repos/aicis/fresco/branches{/branch}","tags_url":"https://api.github.com/repos/aicis/fresco/tags","blobs_url":"https://api.github.com/repos/aicis/fresco/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aicis/fresco/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aicis/fresco/git/refs{/sha}","trees_url":"https://api.github.com/repos/aicis/fresco/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aicis/fresco/statuses/{sha}","languages_url":"https://api.github.com/repos/aicis/fresco/languages","stargazers_url":"https://api.github.com/repos/aicis/fresco/stargazers","contributors_url":"https://api.github.com/repos/aicis/fresco/contributors","subscribers_url":"https://api.github.com/repos/aicis/fresco/subscribers","subscription_url":"https://api.github.com/repos/aicis/fresco/subscription","commits_url":"https://api.github.com/repos/aicis/fresco/commits{/sha}","git_commits_url":"https://api.github.com/repos/aicis/fresco/git/commits{/sha}","comments_url":"https://api.github.com/repos/aicis/fresco/comments{/number}","issue_comment_url":"https://api.github.com/repos/aicis/fresco/issues/comments{/number}","contents_url":"https://api.github.com/repos/aicis/fresco/contents/{+path}","compare_url":"https://api.github.com/repos/aicis/fresco/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aicis/fresco/merges","archive_url":"https://api.github.com/repos/aicis/fresco/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aicis/fresco/downloads","issues_url":"https://api.github.com/repos/aicis/fresco/issues{/number}","pulls_url":"https://api.github.com/repos/aicis/fresco/pulls{/number}","milestones_url":"https://api.github.com/repos/aicis/fresco/milestones{/number}","notifications_url":"https://api.github.com/repos/aicis/fresco/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aicis/fresco/labels{/name}","releases_url":"https://api.github.com/repos/aicis/fresco/releases{/id}","deployments_url":"https://api.github.com/repos/aicis/fresco/deployments","created_at":"2015-11-24T12:05:17Z","updated_at":"2018-02-23T19:01:23Z","pushed_at":"2018-03-01T12:17:30Z","git_url":"git://github.com/aicis/fresco.git","ssh_url":"git@github.com:aicis/fresco.git","clone_url":"https://github.com/aicis/fresco.git","svn_url":"https://github.com/aicis/fresco","homepage":null,"size":14803,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":15,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aicis/fresco/pulls/244"},"html":{"href":"https://github.com/aicis/fresco/pull/244"},"issue":{"href":"https://api.github.com/repos/aicis/fresco/issues/244"},"comments":{"href":"https://api.github.com/repos/aicis/fresco/issues/244/comments"},"review_comments":{"href":"https://api.github.com/repos/aicis/fresco/pulls/244/comments"},"review_comment":{"href":"https://api.github.com/repos/aicis/fresco/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aicis/fresco/pulls/244/commits"},"statuses":{"href":"https://api.github.com/repos/aicis/fresco/statuses/e702cf2ca23572f1749b473b4984b13359125eb6"}},"author_association":"OWNER"}}
{"actor":{"display_login":"pffrandsen"}}