감동, 마음이 움직이는 것

[c++] Max Min values of any variable type 본문

Tips (Utility, Computer Language, and etc.)

[c++] Max Min values of any variable type

Struggler J. 2016. 10. 6. 18:58

#include <limits>

double dMax = std::numeric_limits<double>::max();
double dMin = std::numeric_limits<double>::min();