numeric_limits::min

형식의 정규화 된 최소값을 반환합니다.

static Type min( ) throw( );

반환 값

형식의 정규화 된 최소 값입니다.

설명

정규화 된 최소값 INT_MIN 형식입니다 int 및 형식에 대 한 FLT_MIN float.반환 값은 의미가 경우 is_bounded 는 true 또는 is_signed 입니다 false.

예제

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

요구 사항

헤더: <limits>

네임 스페이스: std

참고 항목

참조

strstreambuf Class