I am currently working on implementing the IEEE 128-bit floating
on POWER. One of the things to decide is what to call the
math functions for the library calls.
Example: libgfortran/generated/bessel_r16.c currently has
#if defined(GFC_REAL_16_IS_FLOAT128)
#define MATHFUNC(funcname) funcname ## q
#else
#define MATHFUNC(funcname) funcname ## l
#endif
(This is actually generated from an m4 file).
For the BesselJ functions, for example, either the library functions jnq
or jnl will be called.
We have chosen *_r17.c and _c17.c as the naming conventions for
library functions using IEEE 128-bit, and the files will be compiled
with mabi=ieeelongdouble.
So, what should the suffix for math functions be? I assume they will be
picked up from some library. Somebody else than me will have to make
sure this is done correctly, though :-)
Regards
Thomas
So, what should the math functions be called so that they are actually
found in the library?