libc/winsup/cygwin/math
Corinna Vinschen 792e51b721 Add missing long double functions to Cygwin
This patch adds the long double functions missing in newlib to Cygwin.
Apart from some self-written additions (exp10l, finite{f,l}, isinf{f,l},
isnan{f,l}, pow10l) the files are taken from the Mingw-w64 math lib.
Minor changes were required, e.g. substitue _WIN64 with __x86_64__ and
fixing __FLT_RPT_DOMAIN/__FLT_RPT_ERANGE for Cygwin.

Cygwin:
	* math: New subdir with math functions.
	* Makefile.in (VPATH): Add math subdir.
	(MATH_OFILES): List of object files collected from building files in
	math subdir.
	(DLL_OFILES): Add $(MATH_OFILES).
	${CURDIR}/libm.a: Add $(MATH_OFILES) to build.
	* common.din: Add new functions from math subdir.
	* i686.din: Align to new math subdir.  Remove functions now commonly
	available.
	* x86_64.din: Ditto.
	* math.h: math.h wrapper to define mingw structs used in some files in
	math subdir.
	* include/cygwin/version.h: Bump API minor version.

newlib:
	* libc/include/complex.h: Add prototypes for complex long double
	functions.  Only define for Cygwin.
	* libc/include/math.h: Additionally enable prototypes of long double
	functions for Cygwin.  Add Cygwin-only prototypes for dreml, sincosl,
	exp10l and pow10l.  Explain why we don't add them to newlib.
	* libc/include/tgmath.h: Enable long double handling on Cygwin.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-03-29 14:43:55 +02:00
..
DISCLAIMER.PD Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
acosh.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
acoshl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
acosl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
asinhl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
asinl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
atan2l.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
atanhl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
atanl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cabs.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cabsl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cacos.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cacosh.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cacosl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
carg.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cargl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
casin.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
casinh.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
casinl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
catan.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
catanh.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
catanl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cbrtl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ccos.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ccosh.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ccosl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ceil.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ceilf.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ceill.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cephes_emath.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cephes_emath.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cephes_mconf.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cexp.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cexpl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cimag.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cimagl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
clog.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
clog10.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
clog10l.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
clogl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
complex_internal.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
conj.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
conjl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
copysignl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cos.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
coshl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cosl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cosl_internal.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cossin.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cpow.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cpowl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cproj.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
cprojl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
creal.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
creall.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
csin.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
csinh.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
csinl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
csqrt.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
csqrtl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ctan.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ctanh.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ctanl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
erfl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
exp.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
exp2.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
exp2l.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
exp10l.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
expl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
expm1.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
expm1l.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
fabsl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
fastmath.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
fdiml.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
finite.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
floorl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
fmal.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
fmaxl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
fminl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
fmodl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
frexpl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ilogbl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
internal_logl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
isinf.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
isnan.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
ldexpl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
lgammal.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
llrint.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
llrintf.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
llrintl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
llroundl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
log.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
log1pl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
log2l.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
log10l.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
logbl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
logl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
lrint.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
lrintf.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
lrintl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
lroundl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
modfl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
nearbyint.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
nearbyintf.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
nearbyintl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
nextafterl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
nexttoward.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
nexttowardf.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
pow.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
pow10l.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
powi.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
powil.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
powl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
remainder.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
remainderf.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
remainderl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
remquol.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
rint.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
rintf.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
rintl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
roundl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
scalbl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
scalbnl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
sin.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
sinhl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
sinl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
sinl_internal.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
sqrt.def.h Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
sqrtl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
tanhl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
tanl.S Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
tgammal.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
truncl.c Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00