{"action":"created","comment":{"url":"https://api.github.com/repos/symengine/symengine/pulls/comments/65666501","id":65666501,"diff_hunk":"@@ -128,6 +132,12 @@ void integer_set_str(basic s, char *c);\n void real_double_set_d(basic s, double d);\n //! Returns double value of s.\n double real_double_get_d(const basic s);\n+//! Assign to s, a real mpfr that has value d with precision prec.\n+void real_mpfr_set_d(basic s, double d, int prec);\n+//! Assign to s, a real mpfr that has base 10 representation c with precision prec.\n+void real_mpfr_set_str(basic s, char *c, int prec);","path":"symengine/cwrapper.h","position":18,"original_position":18,"commit_id":"71b0afff475e3742daa4a319b77740d90f966ad2","original_commit_id":"71b0afff475e3742daa4a319b77740d90f966ad2","user":{"login":"isuruf","id":5234427,"avatar_url":"https://avatars.githubusercontent.com/u/5234427?v=3","gravatar_id":"","url":"https://api.github.com/users/isuruf","html_url":"https://github.com/isuruf","followers_url":"https://api.github.com/users/isuruf/followers","following_url":"https://api.github.com/users/isuruf/following{/other_user}","gists_url":"https://api.github.com/users/isuruf/gists{/gist_id}","starred_url":"https://api.github.com/users/isuruf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuruf/subscriptions","organizations_url":"https://api.github.com/users/isuruf/orgs","repos_url":"https://api.github.com/users/isuruf/repos","events_url":"https://api.github.com/users/isuruf/events{/privacy}","received_events_url":"https://api.github.com/users/isuruf/received_events","type":"User","site_admin":false},"body":"`int` -> `mpfr_prec_t`","created_at":"2016-06-03T07:30:19Z","updated_at":"2016-06-03T07:30:19Z","html_url":"https://github.com/symengine/symengine/pull/972#discussion_r65666501","pull_request_url":"https://api.github.com/repos/symengine/symengine/pulls/972","_links":{"self":{"href":"https://api.github.com/repos/symengine/symengine/pulls/comments/65666501"},"html":{"href":"https://github.com/symengine/symengine/pull/972#discussion_r65666501"},"pull_request":{"href":"https://api.github.com/repos/symengine/symengine/pulls/972"}}},"pull_request":{"url":"https://api.github.com/repos/symengine/symengine/pulls/972","id":72231137,"html_url":"https://github.com/symengine/symengine/pull/972","diff_url":"https://github.com/symengine/symengine/pull/972.diff","patch_url":"https://github.com/symengine/symengine/pull/972.patch","issue_url":"https://api.github.com/repos/symengine/symengine/issues/972","number":972,"state":"open","locked":false,"title":"[WIP] Wrappers for Real MPFR and Complex MPC","user":{"login":"rajithv","id":1919055,"avatar_url":"https://avatars.githubusercontent.com/u/1919055?v=3","gravatar_id":"","url":"https://api.github.com/users/rajithv","html_url":"https://github.com/rajithv","followers_url":"https://api.github.com/users/rajithv/followers","following_url":"https://api.github.com/users/rajithv/following{/other_user}","gists_url":"https://api.github.com/users/rajithv/gists{/gist_id}","starred_url":"https://api.github.com/users/rajithv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajithv/subscriptions","organizations_url":"https://api.github.com/users/rajithv/orgs","repos_url":"https://api.github.com/users/rajithv/repos","events_url":"https://api.github.com/users/rajithv/events{/privacy}","received_events_url":"https://api.github.com/users/rajithv/received_events","type":"User","site_admin":false},"body":"I am having trouble testing the MPFR code so far, as the cmake sets WITH_MPFR to false. I tried to change the [`CMakeLists.txt`] (https://github.com/symengine/symengine/blob/adb297e1d635ca8a7ffe3616067f13b5e131b358/CMakeLists.txt#L168) to no avail. I have installed `libmpfr4` and `libmpfr-dev` on system, in case that is needed. What am I missing here? ","created_at":"2016-06-01T18:40:22Z","updated_at":"2016-06-03T07:30:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0def24bb413f527fc0c5463c62ace7314d07b411","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symengine/symengine/pulls/972/commits","review_comments_url":"https://api.github.com/repos/symengine/symengine/pulls/972/comments","review_comment_url":"https://api.github.com/repos/symengine/symengine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symengine/symengine/issues/972/comments","statuses_url":"https://api.github.com/repos/symengine/symengine/statuses/71b0afff475e3742daa4a319b77740d90f966ad2","head":{"label":"rajithv:mpfr_mpc","ref":"mpfr_mpc","sha":"71b0afff475e3742daa4a319b77740d90f966ad2","user":{"login":"rajithv","id":1919055,"avatar_url":"https://avatars.githubusercontent.com/u/1919055?v=3","gravatar_id":"","url":"https://api.github.com/users/rajithv","html_url":"https://github.com/rajithv","followers_url":"https://api.github.com/users/rajithv/followers","following_url":"https://api.github.com/users/rajithv/following{/other_user}","gists_url":"https://api.github.com/users/rajithv/gists{/gist_id}","starred_url":"https://api.github.com/users/rajithv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajithv/subscriptions","organizations_url":"https://api.github.com/users/rajithv/orgs","repos_url":"https://api.github.com/users/rajithv/repos","events_url":"https://api.github.com/users/rajithv/events{/privacy}","received_events_url":"https://api.github.com/users/rajithv/received_events","type":"User","site_admin":false},"repo":{"id":51739302,"name":"symengine","full_name":"rajithv/symengine","owner":{"login":"rajithv","id":1919055,"avatar_url":"https://avatars.githubusercontent.com/u/1919055?v=3","gravatar_id":"","url":"https://api.github.com/users/rajithv","html_url":"https://github.com/rajithv","followers_url":"https://api.github.com/users/rajithv/followers","following_url":"https://api.github.com/users/rajithv/following{/other_user}","gists_url":"https://api.github.com/users/rajithv/gists{/gist_id}","starred_url":"https://api.github.com/users/rajithv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajithv/subscriptions","organizations_url":"https://api.github.com/users/rajithv/orgs","repos_url":"https://api.github.com/users/rajithv/repos","events_url":"https://api.github.com/users/rajithv/events{/privacy}","received_events_url":"https://api.github.com/users/rajithv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rajithv/symengine","description":"SymEngine is a fast symbolic manipulation library, written in C++","fork":true,"url":"https://api.github.com/repos/rajithv/symengine","forks_url":"https://api.github.com/repos/rajithv/symengine/forks","keys_url":"https://api.github.com/repos/rajithv/symengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rajithv/symengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rajithv/symengine/teams","hooks_url":"https://api.github.com/repos/rajithv/symengine/hooks","issue_events_url":"https://api.github.com/repos/rajithv/symengine/issues/events{/number}","events_url":"https://api.github.com/repos/rajithv/symengine/events","assignees_url":"https://api.github.com/repos/rajithv/symengine/assignees{/user}","branches_url":"https://api.github.com/repos/rajithv/symengine/branches{/branch}","tags_url":"https://api.github.com/repos/rajithv/symengine/tags","blobs_url":"https://api.github.com/repos/rajithv/symengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rajithv/symengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rajithv/symengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/rajithv/symengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rajithv/symengine/statuses/{sha}","languages_url":"https://api.github.com/repos/rajithv/symengine/languages","stargazers_url":"https://api.github.com/repos/rajithv/symengine/stargazers","contributors_url":"https://api.github.com/repos/rajithv/symengine/contributors","subscribers_url":"https://api.github.com/repos/rajithv/symengine/subscribers","subscription_url":"https://api.github.com/repos/rajithv/symengine/subscription","commits_url":"https://api.github.com/repos/rajithv/symengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/rajithv/symengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/rajithv/symengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/rajithv/symengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/rajithv/symengine/contents/{+path}","compare_url":"https://api.github.com/repos/rajithv/symengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rajithv/symengine/merges","archive_url":"https://api.github.com/repos/rajithv/symengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rajithv/symengine/downloads","issues_url":"https://api.github.com/repos/rajithv/symengine/issues{/number}","pulls_url":"https://api.github.com/repos/rajithv/symengine/pulls{/number}","milestones_url":"https://api.github.com/repos/rajithv/symengine/milestones{/number}","notifications_url":"https://api.github.com/repos/rajithv/symengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rajithv/symengine/labels{/name}","releases_url":"https://api.github.com/repos/rajithv/symengine/releases{/id}","deployments_url":"https://api.github.com/repos/rajithv/symengine/deployments","created_at":"2016-02-15T07:53:31Z","updated_at":"2016-02-15T07:53:33Z","pushed_at":"2016-06-02T17:56:43Z","git_url":"git://github.com/rajithv/symengine.git","ssh_url":"git@github.com:rajithv/symengine.git","clone_url":"https://github.com/rajithv/symengine.git","svn_url":"https://github.com/rajithv/symengine","homepage":"http://sympy.org","size":5249,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symengine:master","ref":"master","sha":"22d45496021ae4479613f02fb5648f4838bbb1ef","user":{"login":"symengine","id":11509221,"avatar_url":"https://avatars.githubusercontent.com/u/11509221?v=3","gravatar_id":"","url":"https://api.github.com/users/symengine","html_url":"https://github.com/symengine","followers_url":"https://api.github.com/users/symengine/followers","following_url":"https://api.github.com/users/symengine/following{/other_user}","gists_url":"https://api.github.com/users/symengine/gists{/gist_id}","starred_url":"https://api.github.com/users/symengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symengine/subscriptions","organizations_url":"https://api.github.com/users/symengine/orgs","repos_url":"https://api.github.com/users/symengine/repos","events_url":"https://api.github.com/users/symengine/events{/privacy}","received_events_url":"https://api.github.com/users/symengine/received_events","type":"Organization","site_admin":false},"repo":{"id":42376,"name":"symengine","full_name":"symengine/symengine","owner":{"login":"symengine","id":11509221,"avatar_url":"https://avatars.githubusercontent.com/u/11509221?v=3","gravatar_id":"","url":"https://api.github.com/users/symengine","html_url":"https://github.com/symengine","followers_url":"https://api.github.com/users/symengine/followers","following_url":"https://api.github.com/users/symengine/following{/other_user}","gists_url":"https://api.github.com/users/symengine/gists{/gist_id}","starred_url":"https://api.github.com/users/symengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symengine/subscriptions","organizations_url":"https://api.github.com/users/symengine/orgs","repos_url":"https://api.github.com/users/symengine/repos","events_url":"https://api.github.com/users/symengine/events{/privacy}","received_events_url":"https://api.github.com/users/symengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symengine/symengine","description":"SymEngine is a fast symbolic manipulation library, written in C++","fork":false,"url":"https://api.github.com/repos/symengine/symengine","forks_url":"https://api.github.com/repos/symengine/symengine/forks","keys_url":"https://api.github.com/repos/symengine/symengine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symengine/symengine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symengine/symengine/teams","hooks_url":"https://api.github.com/repos/symengine/symengine/hooks","issue_events_url":"https://api.github.com/repos/symengine/symengine/issues/events{/number}","events_url":"https://api.github.com/repos/symengine/symengine/events","assignees_url":"https://api.github.com/repos/symengine/symengine/assignees{/user}","branches_url":"https://api.github.com/repos/symengine/symengine/branches{/branch}","tags_url":"https://api.github.com/repos/symengine/symengine/tags","blobs_url":"https://api.github.com/repos/symengine/symengine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symengine/symengine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symengine/symengine/git/refs{/sha}","trees_url":"https://api.github.com/repos/symengine/symengine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symengine/symengine/statuses/{sha}","languages_url":"https://api.github.com/repos/symengine/symengine/languages","stargazers_url":"https://api.github.com/repos/symengine/symengine/stargazers","contributors_url":"https://api.github.com/repos/symengine/symengine/contributors","subscribers_url":"https://api.github.com/repos/symengine/symengine/subscribers","subscription_url":"https://api.github.com/repos/symengine/symengine/subscription","commits_url":"https://api.github.com/repos/symengine/symengine/commits{/sha}","git_commits_url":"https://api.github.com/repos/symengine/symengine/git/commits{/sha}","comments_url":"https://api.github.com/repos/symengine/symengine/comments{/number}","issue_comment_url":"https://api.github.com/repos/symengine/symengine/issues/comments{/number}","contents_url":"https://api.github.com/repos/symengine/symengine/contents/{+path}","compare_url":"https://api.github.com/repos/symengine/symengine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symengine/symengine/merges","archive_url":"https://api.github.com/repos/symengine/symengine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symengine/symengine/downloads","issues_url":"https://api.github.com/repos/symengine/symengine/issues{/number}","pulls_url":"https://api.github.com/repos/symengine/symengine/pulls{/number}","milestones_url":"https://api.github.com/repos/symengine/symengine/milestones{/number}","notifications_url":"https://api.github.com/repos/symengine/symengine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symengine/symengine/labels{/name}","releases_url":"https://api.github.com/repos/symengine/symengine/releases{/id}","deployments_url":"https://api.github.com/repos/symengine/symengine/deployments","created_at":"2008-08-13T18:40:14Z","updated_at":"2016-05-30T15:20:48Z","pushed_at":"2016-06-02T17:56:43Z","git_url":"git://github.com/symengine/symengine.git","ssh_url":"git@github.com:symengine/symengine.git","clone_url":"https://github.com/symengine/symengine.git","svn_url":"https://github.com/symengine/symengine","homepage":"http://sympy.org","size":36710,"stargazers_count":144,"watchers_count":144,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":104,"mirror_url":null,"open_issues_count":107,"forks":104,"open_issues":107,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symengine/symengine/pulls/972"},"html":{"href":"https://github.com/symengine/symengine/pull/972"},"issue":{"href":"https://api.github.com/repos/symengine/symengine/issues/972"},"comments":{"href":"https://api.github.com/repos/symengine/symengine/issues/972/comments"},"review_comments":{"href":"https://api.github.com/repos/symengine/symengine/pulls/972/comments"},"review_comment":{"href":"https://api.github.com/repos/symengine/symengine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symengine/symengine/pulls/972/commits"},"statuses":{"href":"https://api.github.com/repos/symengine/symengine/statuses/71b0afff475e3742daa4a319b77740d90f966ad2"}}}}
{"actor":{"display_login":"isuruf"}}