Numeric

xiaoxiao2021-03-06  99

#include #include #include #include Using Namespace Std;

INT main () {// Judging various types of pole-free COUT << BOOLALPHA; cout << "specialized (char):" Numeric_limits :: is_specialized << endl; cout << "Specialized (wchar_t): "<< numeric_limits :: is_specialized << Endl; cout <<" specialized: "<< numeric_limits :: is_specialized << endl; cout << noboolpha :: max () << Endl; cout << "max (short):" <.com "<< << Endl; cout << "max (unsigned int):" << numeric_limits :: max () << Endl; cout << "max (unsigned short):" << numeric_limits :: max () << endl; cout << "max (unsigned long):" <.com ":: max () << endl; cout <<" max (long): "<< numeric_limits : : max () << Endl; cout << "max (long long):" << numeric_limits :: max () << endl; cout << "max (float):" << numeric_limits :: max () << endl; coub << "max (double):" <"numeric_limits :: max () << endl; cout << "max (long double):" << numeric_limits :: max () << endl; cout <<

转载请注明原文地址:https://www.9cbs.com/read-105555.html

New Post(0)