You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
246 B

#pragma once
#include <stdbool.h>
namespace iflytop {
using namespace std;
static inline float zfabs(float a) { return a > 0 ? a : -a; }
static inline bool zfeq(float a, float b, float eps) { return zfabs(a - b) < eps; }
} // namespace iflytop