Aracılığıyla paylaş


numeric_limits::min_exponent10

Base on o kuvvetine yükseltilmiş kayan nokta türü sonlu bir değeri temsil eder, en büyük negatif ayrılmaz üs döndürür.

static const int min_exponent10 = 0;

Dönüş Değeri

En az 10 tabanına ayrılmaz üs gösterilebilir türüne göre.

Notlar

Üye işlevi yalnızca kayan nokta türü için çok anlamlıdır.min_exponent10 FLT_MIN_10_EXP için türü değeri float.

Örnek

// 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;
}
  

Gereksinimler

Başlık: <limits>

Namespace: std

Ayrıca bkz.

Başvuru

strstreambuf Class