mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-04 19:10:57 +02:00
AlmostEqualUlps on central place
This commit is contained in:
@@ -5,6 +5,10 @@ Copyright 1999 Emmanuel Rouat
|
||||
|
||||
/* Decl. for missing maths functions, if any */
|
||||
|
||||
#ifndef MISSING_MATH_H_INCLUDED
|
||||
#define MISSING_MATH_H_INCLUDED
|
||||
|
||||
bool AlmostEqualUlps(float, float, int);
|
||||
|
||||
#ifndef HAVE_ERFC
|
||||
extern double erfc(double);
|
||||
@@ -23,3 +27,5 @@ extern double scalb(double, int);
|
||||
#ifndef HAVE_ISNAN
|
||||
extern int isnan(double);
|
||||
#endif
|
||||
|
||||
#endif /* MISSING_MATH_H_INCLUDED */
|
||||
|
||||
Reference in New Issue
Block a user