mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
0e15c4b6b5
2002-04-24 Ulrich Drepper <drepper@redhat.com> * elf/dl-load.c (open_verify): Correct __lseek parameters. Patch by Simon Hildrew <simon@hildrew.net> [PR libc/3354]. 2002-04-23 H.J. Lu <hjl@gnu.org> * include/math.h (isfinite): Fix a typo. 2002-04-24 Ulrich Drepper <drepper@redhat.com> * libio/bug-ungetwc2.c (test_locale): Use the de_DE.UTF-8 locale which is created by the test suite. 2002-04-20 Bruno Haible <bruno@clisp.org> * iconvdata/iso-2002-kr.c (MAX_NEEDED_FROM): Set to 4. (BODY for FROM_LOOP): Fix comparisons between inptr and inend. 2002-04-20 Bruno Haible <bruno@clisp.org> * iconvdata/johab.c (BODY for FROM_LOOP): Change type of i, m, f, to avoid gcc warning. 2002-04-20 Bruno Haible <bruno@clisp.org> * iconvdata/iso-2022-jp.c (EMIT_SHIFT_TO_INIT): Fix modification mask of data->__statep->__count. 2002-04-20 Bruno Haible <bruno@clisp.org> * iconvdata/euc-jisx0213.c (BODY for TO_LOOP): Really ignore Unicode tag characters. * iconvdata/shift_jisx0213.c (BODY for TO_LOOP): Likewise. * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New file. * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New file.
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
#ifndef _MATH_H
|
|
|
|
#include <math/math.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern int __matherr (struct exception *__exc);
|
|
|
|
extern int __finite_internal (double __value)
|
|
__attribute__ ((__const__)) attribute_hidden;
|
|
extern int __finitef_internal (float __value)
|
|
__attribute__ ((__const__)) attribute_hidden;
|
|
|
|
extern int __isinf_internal (double __value)
|
|
__attribute__ ((__const__)) attribute_hidden;
|
|
extern int __isnan_internal (double __value)
|
|
__attribute__ ((__const__)) attribute_hidden;
|
|
|
|
#ifndef __NO_LONG_DOUBLE_MATH
|
|
extern int __finitel_internal (long double __value)
|
|
__attribute__ ((__const__)) attribute_hidden;
|
|
|
|
extern int __isinfl_internal (long double __value)
|
|
__attribute__ ((__const__)) attribute_hidden;
|
|
extern int __isnanl_internal (long double __value)
|
|
__attribute__ ((__const__)) attribute_hidden;
|
|
#endif
|
|
|
|
#if !defined NOT_IN_libc || defined IS_IN_libm
|
|
# undef isfinite
|
|
# ifdef __NO_LONG_DOUBLE_MATH
|
|
# define isfinite(x) \
|
|
(sizeof (x) == sizeof (float) \
|
|
? INTUSE(__finitef) (x) : INTUSE(__finite) (x))
|
|
# else
|
|
# define isfinite(x) \
|
|
(sizeof (x) == sizeof (float) \
|
|
? INTUSE(__finitef) (x) \
|
|
: sizeof (x) == sizeof (double) \
|
|
? INTUSE(__finite) (x) : INTUSE(__finitel) (x))
|
|
# endif
|
|
#endif
|
|
|
|
|
|
#endif
|