2009-04-20 Jeff johnston <jjohnstn@redhat.com>
* libc/include/math.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_MATH. * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to be _HAVE_LDBL_STDLIB.
This commit is contained in:
parent
5698171a3f
commit
bd5f034706
@ -1,3 +1,10 @@
|
|||||||
|
2009-04-20 Jeff johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
|
||||||
|
be _HAVE_LDBL_MATH.
|
||||||
|
* libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
|
||||||
|
be _HAVE_LDBL_STDLIB.
|
||||||
|
|
||||||
2009-04-17 Jeff johnston <jjohnstn@redhat.com>
|
2009-04-17 Jeff johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
|
* libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
|
||||||
|
@ -334,8 +334,8 @@ extern float log2f _PARAMS((float));
|
|||||||
extern float hypotf _PARAMS((float, float));
|
extern float hypotf _PARAMS((float, float));
|
||||||
#endif /* ! defined (_REENT_ONLY) */
|
#endif /* ! defined (_REENT_ONLY) */
|
||||||
|
|
||||||
/* On platforms where long double is as wide as double. */
|
/* On platforms where long double math functions are supported. */
|
||||||
#ifdef _LDBL_EQ_DBL
|
#ifdef _HAVE_LDBL_MATH
|
||||||
/* Reentrant ANSI C functions. */
|
/* Reentrant ANSI C functions. */
|
||||||
#ifndef __math_68881
|
#ifndef __math_68881
|
||||||
extern long double atanl _PARAMS((long double));
|
extern long double atanl _PARAMS((long double));
|
||||||
@ -400,14 +400,14 @@ extern long double lgammal _PARAMS((long double));
|
|||||||
extern long double erfl _PARAMS((long double));
|
extern long double erfl _PARAMS((long double));
|
||||||
extern long double erfcl _PARAMS((long double));
|
extern long double erfcl _PARAMS((long double));
|
||||||
#endif /* ! defined (_REENT_ONLY) */
|
#endif /* ! defined (_REENT_ONLY) */
|
||||||
#else /* !_LDBL_EQ_DBL */
|
#else /* !_HAVE_LDBL_MATH */
|
||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
/* Other long double precision functions. */
|
/* Other long double precision functions. */
|
||||||
extern _LONG_DOUBLE rintl _PARAMS((_LONG_DOUBLE));
|
extern _LONG_DOUBLE rintl _PARAMS((_LONG_DOUBLE));
|
||||||
extern long int lrintl _PARAMS((_LONG_DOUBLE));
|
extern long int lrintl _PARAMS((_LONG_DOUBLE));
|
||||||
extern _LONG_LONG_TYPE llrintl _PARAMS((_LONG_DOUBLE));
|
extern _LONG_LONG_TYPE llrintl _PARAMS((_LONG_DOUBLE));
|
||||||
#endif /* __i386__ */
|
#endif /* __i386__ */
|
||||||
#endif /* !_LDBL_EQ_DBL */
|
#endif /* !_HAVE_LDBL_MATH */
|
||||||
|
|
||||||
#endif /* !defined (__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L */
|
#endif /* !defined (__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L */
|
||||||
|
|
||||||
|
@ -199,11 +199,11 @@ int _EXFUN(_system_r,(struct _reent *, const char *));
|
|||||||
|
|
||||||
_VOID _EXFUN(__eprintf,(const char *, const char *, unsigned int, const char *));
|
_VOID _EXFUN(__eprintf,(const char *, const char *, unsigned int, const char *));
|
||||||
|
|
||||||
/* On platforms where long double is as wide as double. */
|
/* On platforms where long double stdlib functions are supported. */
|
||||||
#ifdef _LDBL_EQ_DBL
|
#ifdef _HAVE_LDBL_STDLIB
|
||||||
extern long double strtold (const char *, char **);
|
extern long double strtold (const char *, char **);
|
||||||
extern long double wcstold (const wchar_t *, wchar_t **);
|
extern long double wcstold (const wchar_t *, wchar_t **);
|
||||||
#endif /* LDBL_EQ_DBL */
|
#endif /* _HAVE_LDBL_STDLIB */
|
||||||
|
|
||||||
_END_STD_C
|
_END_STD_C
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user