musl/src/complex/cproj.c, branch master musl - an implementation of the standard library for Linux-based systems fix potentially wrong-sign zero in cproj functions at infinity 2022年01月18日T22:31:46+00:00 Rich Felker dalias@aerifal.cx 2022年01月18日T22:31:46+00:00 75b3412f3dbda8f1fc6818b8b0cf1d0737c2163c these are specified to use the sign of the imaginary part of the input as the sign of zero in the result, but wrongly copied the sign of the real part.
these are specified to use the sign of the imaginary part of the input
as the sign of zero in the result, but wrongly copied the sign of the
real part.
math: move complex math out of libm.h 2019年04月17日T17:03:52+00:00 Szabolcs Nagy nsz@port70.net 2018年11月29日T22:09:53+00:00 2d72b58070bc43a727b580a46746e87215a60a33 This makes it easier to build musl math code with a compiler that does not support complex types (tcc) and in general more sensible factorization of the internal headers.
This makes it easier to build musl math code with a compiler that
does not support complex types (tcc) and in general more sensible
factorization of the internal headers.
complex: add C11 CMPLX macros and replace cpack with them 2012年11月13日T00:31:49+00:00 Szabolcs Nagy nsz@port70.net 2012年11月13日T00:31:49+00:00 cfbaba79a2dd380e580a247b8fd36af60c878e8f
first commit of the new libm! 2012年03月13日T05:17:53+00:00 Rich Felker dalias@aerifal.cx 2012年03月13日T05:17:53+00:00 b69f695acedd4ce2798ef9ea28d834ceccc789bd thanks to the hard work of Szabolcs Nagy (nsz), identifying the best (from correctness and license standpoint) implementations from freebsd and openbsd and cleaning them up! musl should now fully support c99 float and long double math functions, and has near-complete complex math support. tgmath should also work (fully on gcc-compatible compilers, and mostly on any c99 compiler). based largely on commit 0376d44a890fea261506f1fc63833e7a686dca19 from nsz's libm git repo, with some additions (dummy versions of a few missing long double complex functions, etc.) by me. various cleanups still need to be made, including re-adding (if they're correct) some asm functions that were dropped.
thanks to the hard work of Szabolcs Nagy (nsz), identifying the best
(from correctness and license standpoint) implementations from freebsd
and openbsd and cleaning them up! musl should now fully support c99
float and long double math functions, and has near-complete complex
math support. tgmath should also work (fully on gcc-compatible
compilers, and mostly on any c99 compiler).
based largely on commit 0376d44a890fea261506f1fc63833e7a686dca19 from
nsz's libm git repo, with some additions (dummy versions of a few
missing long double complex functions, etc.) by me.
various cleanups still need to be made, including re-adding (if
they're correct) some asm functions that were dropped.

AltStyle によって変換されたページ (->オリジナル) /