numeric_limits::min
Bir tür için en az normalleştirilmiş değerini verir.
static Type min( ) throw( );
Dönüş Değeri
En az normalleştirilmiş bir değer türü.
Notlar
En az normalleştirilmiş bir değer INT_MIN türü olan int ve FLT_MIN türü için float.Dönüş değeri anlamlı, is_bounded olan true veya is_signed olan false.
Örnek
// numeric_limits_min.cpp
// compile with: /EHsc
#include <iostream>
#include <limits>
using namespace std;
int main( )
{
cout << "The minimum value for type float is: "
<< numeric_limits<float>::min( )
<< endl;
cout << "The minimum value for type double is: "
<< numeric_limits<double>::min( )
<< endl;
cout << "The minimum value for type int is: "
<< numeric_limits<int>::min( )
<< endl;
cout << "The minimum value for type short int is: "
<< numeric_limits<short int>::min( )
<< endl;
}
Gereksinimler
Başlık: <limits>
Namespace: std