CMExamples/math/OutputEpsilon.cpp

14 lines
253 B
C++
Raw Normal View History

2024-10-05 22:37:08 +08:00
#include<iostream>
#include<hgl/math/MathConst.h>
using namespace std;
using namespace hgl;
int main(int,char **)
{
std::cout<<"float: "<<HGL_FLOAT_EPSILON<<std::endl;
std::cout<<"double: "<<HGL_DOUBLE_EPSILON<<std::endl;
return 0;
}