This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Andreas Jaeger <aj@suse.de> writes: > Why are the functions fmal and nexttowardl not in libm.so on the alpha > platform? The functions are required by ISO C99 and are present on > ia32. Here's a patch - ok to commit? Andreas 2001-04-01 Andreas Jaeger <aj@suse.de> * sysdeps/generic/s_nextafter.c(NO_LONG_DOUBLE): Add nexttowardl alias. * sysdeps/generic/s_fma.c (NO_LONG_DOUBLE): Add fmal alias. ============================================================ Index: sysdeps/generic/s_nextafter.c --- sysdeps/generic/s_nextafter.c 1999/08/02 23:14:46 1.3 +++ sysdeps/generic/s_nextafter.c 2001/04/01 12:15:33 @@ -85,6 +85,8 @@ #ifdef NO_LONG_DOUBLE strong_alias (__nextafter, __nextafterl) weak_alias (__nextafter, nextafterl) +strong_alias (__nextafter, __nexttowardl) +weak_alias (__nexttowardl, nexttowardl) #undef __nexttoward strong_alias (__nextafter, __nexttoward) #undef nexttoward ============================================================ Index: sysdeps/generic/s_fma.c --- sysdeps/generic/s_fma.c 1999/07/13 23:15:27 1.1 +++ sysdeps/generic/s_fma.c 2001/04/01 12:15:33 @@ -1,5 +1,5 @@ /* Compute x * y + z as ternary operation. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -26,3 +26,8 @@ return (x * y) + z; } weak_alias (__fma, fma) + +#ifdef NO_LONG_DOUBLE +strong_alias (__fma, __fmal) +weak_alias (__fmal, fmal) +#endif -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |