2000-07-19 16:18:31 +02:00
|
|
|
/* DO NOT EDIT THIS FILE.
|
|
|
|
|
|
|
|
It has been auto-edited by fixincludes from:
|
|
|
|
|
|
|
|
"fixinc/tests/inc/math.h"
|
|
|
|
|
|
|
|
This had to be done to correct non-standard usages in the
|
|
|
|
original, manufacturer supplied header file. */
|
|
|
|
|
2003-01-04 22:17:01 +01:00
|
|
|
#ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION
|
|
|
|
#define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1
|
2000-05-30 21:41:37 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define exception __math_exception
|
|
|
|
#endif
|
2004-01-21 01:23:04 +01:00
|
|
|
#ifndef FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE
|
|
|
|
#define FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE 1
|
|
|
|
|
|
|
|
struct exception;
|
2000-05-30 21:41:37 +02:00
|
|
|
|
|
|
|
|
2005-08-07 21:14:12 +02:00
|
|
|
#if defined( AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK )
|
|
|
|
#include <architecture/ppc/math.h>
|
|
|
|
#endif /* AAB_DARWIN7_9_LONG_DOUBLE_FUNCS_2_CHECK */
|
|
|
|
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#if defined( BROKEN_CABS_CHECK )
|
|
|
|
#ifdef __STDC__
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#endif
|
2003-08-02 00:48:24 +02:00
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
/* This is a comment
|
|
|
|
and it ends here. */
|
2005-06-15 01:59:48 +02:00
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#endif /* BROKEN_CABS_CHECK */
|
|
|
|
|
|
|
|
|
2004-01-21 01:23:04 +01:00
|
|
|
#if defined( EXCEPTION_STRUCTURE_CHECK )
|
|
|
|
extern int matherr();
|
|
|
|
#endif /* EXCEPTION_STRUCTURE_CHECK */
|
|
|
|
|
|
|
|
|
2001-07-17 05:59:18 +02:00
|
|
|
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
|
|
|
|
|
|
|
|
#endif /* HPUX11_CPP_POW_INLINE_CHECK */
|
|
|
|
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#if defined( HPUX11_FABSF_CHECK )
|
|
|
|
#ifdef _PA_RISC
|
2001-12-20 05:09:40 +01:00
|
|
|
#ifndef __cplusplus
|
2000-05-30 21:41:37 +02:00
|
|
|
# define fabsf(x) ((float)fabs((double)(float)(x)))
|
|
|
|
#endif
|
2001-12-20 05:09:40 +01:00
|
|
|
#endif
|
2000-05-30 21:41:37 +02:00
|
|
|
#endif /* HPUX11_FABSF_CHECK */
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( HPUX8_BOGUS_INLINES_CHECK )
|
|
|
|
extern "C" int abs(int);
|
|
|
|
|
|
|
|
#endif /* HPUX8_BOGUS_INLINES_CHECK */
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( ISC_FMOD_CHECK )
|
|
|
|
extern double fmod(double, double);
|
|
|
|
#endif /* ISC_FMOD_CHECK */
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( MATH_EXCEPTION_CHECK )
|
|
|
|
typedef struct exception t_math_exception;
|
|
|
|
#endif /* MATH_EXCEPTION_CHECK */
|
|
|
|
|
|
|
|
|
2000-07-13 16:51:14 +02:00
|
|
|
#if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
|
|
|
|
|
|
|
|
#define HUGE_VAL 3.1415e+9 /* really big */
|
|
|
|
#endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
|
|
|
|
|
|
|
|
|
2000-05-30 21:41:37 +02:00
|
|
|
#if defined( RS6000_DOUBLE_CHECK )
|
|
|
|
#ifndef __cplusplus
|
|
|
|
extern int class();
|
|
|
|
#endif
|
|
|
|
#endif /* RS6000_DOUBLE_CHECK */
|
|
|
|
|
|
|
|
|
2003-04-19 23:10:08 +02:00
|
|
|
#if defined( SCO_MATH_CHECK )
|
|
|
|
#define __fp_class(a) \
|
|
|
|
__builtin_generic(a,"ld:__fplcassifyl;f:__fpclassifyf;:__fpclassify")
|
|
|
|
|
|
|
|
#endif /* SCO_MATH_CHECK */
|
|
|
|
|
|
|
|
|
2001-05-26 19:58:57 +02:00
|
|
|
#if defined( STRICT_ANSI_NOT_CTD_CHECK )
|
2001-12-20 05:09:40 +01:00
|
|
|
#if 1 && \
|
|
|
|
&& defined(mumbling) |& ( !defined(__STRICT_ANSI__)) \
|
|
|
|
( !defined(__STRICT_ANSI__) && !defined(_XOPEN_SOURCE) \
|
|
|
|
|| !defined(__STRICT_ANSI__) ) /* not std C */
|
2001-05-26 19:58:57 +02:00
|
|
|
int foo;
|
|
|
|
#endif
|
|
|
|
#endif /* STRICT_ANSI_NOT_CTD_CHECK */
|
|
|
|
|
|
|
|
|
2000-06-02 18:04:10 +02:00
|
|
|
#if defined( ULTRIX_ATOF_PARAM_CHECK )
|
2000-06-17 21:54:04 +02:00
|
|
|
extern double atof(const char *__nptr);
|
|
|
|
|
2000-06-02 18:04:10 +02:00
|
|
|
#endif /* ULTRIX_ATOF_PARAM_CHECK */
|
2002-05-14 02:33:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
#if defined( WINDISS_MATH1_CHECK )
|
|
|
|
#ifndef __GNUC__
|
|
|
|
#endif /* WINDISS_MATH1_CHECK */
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( WINDISS_MATH2_CHECK )
|
|
|
|
#endif /* __GNUC__ */
|
|
|
|
#endif /* WINDISS_MATH2_CHECK */
|
2004-01-21 01:23:04 +01:00
|
|
|
|
|
|
|
#endif /* FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE */
|
2000-05-30 21:41:37 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
#undef exception
|
|
|
|
#endif
|
|
|
|
|
2003-01-04 22:17:01 +01:00
|
|
|
#endif /* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */
|