4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-04 05:20:26 +08:00
Thomas Schwinge 67459ce679 Generally make all 'long double complex' methods available in <complex.h>
..., not just '#if defined(__CYGWIN__)'.  (Exception: 'clog10l' which currently
indeed is for Cygwin only.)

This completes 2017-07-05 commit be3ca3947402827aa52709e677369bc7ad30aa1d
"Fixed warnings for some long double complex methods" after Aditya Upadhyay's
work on importing "Long double complex methods" from NetBSD.

For example, this changes GCC/nvptx libgfortran 'configure' output as follows:

    [...]
    checking for ccosf... yes
    checking for ccos... yes
    checking for ccosl... [-no-]{+yes+}
    [...]

..., and correspondingly GCC/nvptx 'nvptx-none/libgfortran/config.h' as
follows:

    [...]
     /* Define to 1 if you have the `ccosl' function. */
    -/* #undef HAVE_CCOSL */
    +#define HAVE_CCOSL 1
    [...]

Similarly for 'ccoshl', 'cexpl', 'cpowl', 'csinl', 'csinhl', 'ctanl', 'ctanhl',
'cacoshl', 'cacosl', 'casinhl', 'catanhl'.  ('conjl', 'cprojl' are not
currently being used in libgfortran.)

This in turn simplifies GCC/nvptx 'libgfortran/intrinsics/c99_functions.c'
compilation such that this files doesn't have to provide its own
"Implementation of various C99 functions" for those, when in fact they're
available in newlib libm.
2022-11-08 21:38:08 +01:00
..
2018-03-14 10:46:32 -05:00
2022-09-26 13:44:21 -04:00
2018-01-17 11:47:30 -06:00
2016-04-04 10:25:27 -05:00
2021-11-15 19:32:23 -05:00
2021-02-09 11:07:59 +01:00
2018-09-06 14:11:45 +02:00
2021-11-15 19:32:23 -05:00
2016-11-22 14:21:35 +01:00
2022-05-04 13:08:10 -04:00
2022-05-29 17:45:52 -04:00
2021-11-15 19:32:23 -05:00
2016-10-25 16:24:05 +02:00
2021-10-27 20:02:06 +02:00
2016-04-04 10:25:29 -05:00
2022-07-13 06:55:46 +02:00