numeric_limits::min_exponent
지 기지 기 수의 해당 전원에 발생 하면 부동 소수점 형식을 유한 값으로 나타낼 수 있는 최대 음수 정수 계열 수를 반환 합니다.
static const int min_exponent = 0;
반환 값
최소 정수 계열 기 수를 기준으로 음의 표현 형식.
설명
멤버 함수는 부동 소수점 형식에 대해서만 의미가 있습니다.min_exponent FLT_MIN_EXP 값 형식에 대 한 float.
예제
// 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;
}
요구 사항
헤더: <limits>
네임 스페이스: std