2024-08-09 15:24:02 -05:00

13 lines
180 B
C

#pragma once
#include <stdbool.h>
#include "math.h"
static const float epsilon = 0.00001;
inline static bool float_equal(float a, float b)
{
return fabsf(a - b) < epsilon;
}