numeric_limits::min_exponent10

返回表示浮点类型可以为受限值的最大整数为指数,则基本个引发该功能时。

static const int min_exponent10 = 0;

返回值

最小整数 10 可以基本指数由可用类型。

备注

成员函数用于浮点类型才有意义的。 min_exponent10浮动FLT_MIN_10_EXP 类型的值。

示例

// numeric_limits_min_exponent10.cpp
// compile with: /EHsc
#include <iostream>
#include <limits>

using namespace std;

int main( )
{
   cout << "The minimum base 10 exponent for type float is:  "
        << numeric_limits<float>::min_exponent10
        << endl;
   cout << "The minimum base 10 exponent for type double is:  "
        << numeric_limits<double>::min_exponent10
        << endl;
   cout << "The minimum base 10 exponent for type long double is:  "
        << numeric_limits<long double>::min_exponent10
        << endl;
}
  

要求

页眉: <限制>

命名空间: std

请参见

参考

strstreambuf 类