2nd_Sem_Bogachev/2025.03.21/dist/Matvei/comparison.c
AZEN-SGG 2d77179904 chore(cleanup): replace legacy Matvei project with updated Linux-based version
- Removed obsolete Matvei source files (tasks 01–04, array/matrix/io_status
  modules, Makefile)
- Introduced new Linux-compatible structure in Linux/Matvei
- Updated build logic via new Makefile
- Adjusted .gitignore to exclude new artifacts
2025-03-25 23:35:44 +03:00

8 lines
154 B
C

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