Skip to content

Change existing code to use CMPLX*() instead of cpack*() where possible.#76

Merged
Keno merged 1 commit intoJuliaMath:masterfrom
NuxiNL:cmplx
Jan 8, 2015
Merged

Change existing code to use CMPLX*() instead of cpack*() where possible.#76
Keno merged 1 commit intoJuliaMath:masterfrom
NuxiNL:cmplx

Conversation

@EdSchouten
Copy link
Copy Markdown
Contributor

I am currently working on building openlibm against stock copies of
<math.h>, instead of the openlibm.h header. It seems that a C compliant
<math.h> header can be used as a drop-in replacement for openlibm.h,
with the exception that it lacks cpack*().

In FreeBSD SVN r275819 I patched up the math library by replacing
cpack_() by CMPLX_(). That way many functions become less tied to the
intrinsics of the math library. Make the same change to openlibm.

I am currently working on building openlibm against stock copies of
<math.h>, instead of the openlibm.h header. It seems that a C compliant
<math.h> header can be used as a drop-in replacement for openlibm.h,
with the exception that it lacks cpack*().

In FreeBSD SVN r275819 I patched up the math library by replacing
cpack*() by CMPLX*(). That way many functions become less tied to the
intrinsics of the math library. Make the same change to openlibm.
Keno added a commit that referenced this pull request Jan 8, 2015
Change existing code to use CMPLX*() instead of cpack*() where possible.
@Keno Keno merged commit 8b38bd1 into JuliaMath:master Jan 8, 2015
@Keno
Copy link
Copy Markdown
Contributor

Keno commented Jan 8, 2015

Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants