2nd_Sem_Bogachev/2025.04.18/dist/Ulyanov_MT/functions.c

8 lines
153 B
C

#include <math.h>
#include "functions.h"
int equal(double a, double b)
{
if (fabs(a - b) <= EPS * fmax(fabs(a), fabs(b))) return 1;
return 0;
}