ngspice/src/include/missing_math.h

32 lines
507 B
C
Raw Normal View History

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 18:02:22 +01:00
bool AlmostEqualUlps(double, double, long 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
#ifndef HAVE_ISNAN
extern int isnan(double);
#endif
2007-11-21 18:05:51 +01:00
#endif /* MISSING_MATH_H_INCLUDED */