minix/include/math.h

46 lines
1.5 KiB
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/* The <math.h> header contains prototypes for mathematical functions. */
#ifndef _MATH_H
#define _MATH_H
#ifndef _ANSI_H
#include <ansi.h>
#endif
#define HUGE_VAL (__huge_val()) /* may be infinity */
/* Function Prototypes. */
_PROTOTYPE( double __huge_val, (void) );
_PROTOTYPE( int __IsNan, (double _x) );
_PROTOTYPE( double acos, (double _x) );
_PROTOTYPE( double asin, (double _x) );
_PROTOTYPE( double atan, (double _x) );
_PROTOTYPE( double atan2, (double _y, double _x) );
_PROTOTYPE( double ceil, (double _x) );
_PROTOTYPE( double cos, (double _x) );
_PROTOTYPE( double cosh, (double _x) );
_PROTOTYPE( double exp, (double _x) );
_PROTOTYPE( double fabs, (double _x) );
_PROTOTYPE( double floor, (double _x) );
_PROTOTYPE( double fmod, (double _x, double _y) );
_PROTOTYPE( double frexp, (double _x, int *_exp) );
_PROTOTYPE( double ldexp, (double _x, int _exp) );
_PROTOTYPE( double log, (double _x) );
_PROTOTYPE( double log10, (double _x) );
_PROTOTYPE( double modf, (double _x, double *_iptr) );
_PROTOTYPE( double pow, (double _x, double _y) );
2007-12-14 12:59:54 +01:00
_PROTOTYPE( double rint, (double _x) );
2005-04-21 16:53:53 +02:00
_PROTOTYPE( double sin, (double _x) );
_PROTOTYPE( double sinh, (double _x) );
_PROTOTYPE( double sqrt, (double _x) );
_PROTOTYPE( double tan, (double _x) );
_PROTOTYPE( double tanh, (double _x) );
2005-11-04 18:14:59 +01:00
_PROTOTYPE( double hypot, (double _x, double _y) );
2005-04-21 16:53:53 +02:00
#ifdef _POSIX_SOURCE /* STD-C? */
#include <mathconst.h>
#endif
2005-04-21 16:53:53 +02:00
#endif /* _MATH_H */