2024-07-23 18:03:15 -05:00

12 lines
174 B
C

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