2000-04-27 22:03:57 +02:00
|
|
|
/**********
|
|
|
|
|
Copyright 1999 Emmanuel Rouat
|
|
|
|
|
**********/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Decl. for missing maths functions, if any */
|
|
|
|
|
|
2007-11-21 18:05:51 +01:00
|
|
|
#ifndef MISSING_MATH_H_INCLUDED
|
|
|
|
|
#define MISSING_MATH_H_INCLUDED
|
|
|
|
|
|
2007-12-27 23:02:06 +01:00
|
|
|
bool AlmostEqualUlps(float, float, int);
|
2000-04-27 22:03:57 +02:00
|
|
|
|
|
|
|
|
#ifndef HAVE_ERFC
|
|
|
|
|
extern double erfc(double);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef HAVE_LOGB
|
|
|
|
|
extern double logb(double);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef HAVE_SCALB
|
|
|
|
|
# ifndef HAVE_SCALBN
|
|
|
|
|
extern double scalb(double, int);
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
2004-08-20 11:44:08 +02:00
|
|
|
|
|
|
|
|
#ifndef HAVE_ISNAN
|
|
|
|
|
extern int isnan(double);
|
|
|
|
|
#endif
|
2007-11-21 18:05:51 +01:00
|
|
|
|
|
|
|
|
#endif /* MISSING_MATH_H_INCLUDED */
|