numeric_limits::min_exponent
Sayı tabanı temel 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_exponent = 0;
Dönüş Değeri
Minimum ayrılmaz taban alarak ü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_exponent FLT_MIN_EXP için türü değeri float.
Örnek
// numeric_limits_min_exponent.cpp
// compile with: /EHsc
#include <iostream>
#include <limits>
using namespace std;
int main( )
{
cout << "The minimum radix-based exponent for type float is: "
<< numeric_limits<float>::min_exponent
<< endl;
cout << "The minimum radix-based exponent for type double is: "
<< numeric_limits<double>::min_exponent
<< endl;
cout << "The minimum radix-based exponent for type long double is: "
<< numeric_limits<long double>::min_exponent
<< endl;
}
Gereksinimler
Başlık: <limits>
Namespace: std