Implementing real_double_get_d method #966

Merged
merged 4 commits into from May 31, 2016

Projects

None yet

2 participants

@rajithv
Contributor
rajithv commented May 30, 2016
@rajithv rajithv real_double_get_d method
3700498
@isuruf
Member
isuruf commented May 30, 2016

+1 to merge when tests pass

rajithv added some commits May 30, 2016
@rajithv rajithv More requirements for symengine.rb PR 46
340c2c1
@rajithv rajithv minor correction
76344b3
@isuruf
Member
isuruf commented May 31, 2016 edited

@rajithv, can you fix the formatting?

@rajithv rajithv Formatting error fixed
16843aa
@isuruf isuruf merged commit 9c9d7c9 into symengine:master May 31, 2016

4 checks passed

codecov/patch 100% of diff hit (target 65.74%)
Details
codecov/project 66.00% (+0.23%) compared to 646c1e9
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@isuruf isuruf commented on the diff Jun 14, 2016
symengine/cwrapper.h
@@ -153,6 +155,10 @@ void complex_set_mpq(basic s, const mpq_t re, const mpq_t im);
void complex_real_part(basic s, basic com);
//! Assign to s, an imaginary where com is a complex
void complex_imaginary_part(basic s, basic com);
+//! Assign to s, a real double where com is a complex double
+void complex_double_real_part(basic s, basic com);
+//! Assign to s, an imaginary double where com is a complex double
+void complex_double_imaginary_part(basic s, basic com);
@isuruf
isuruf Jun 14, 2016 Member

Above 4 functions should have const basic com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment