numeric_limits::has_denorm

비 정규화 된 값 형식을 허용 하는지 여부를 테스트 합니다.

static const float_denorm_style has_denorm = denorm_absent;

반환 값

열거형 값의 형식 constfloat_denorm_style, 나타내는 형식을 정규화 되지 않은 값을 허용 하는지 여부.

설명

구성원 저장소 denorm_present 비 정규화 된 있는 부동 소수점 형식을 효과적으로 다양 한 수의 지 수 비트입니다.

예제

// numeric_limits_has_denorm.cpp
// compile with: /EHsc
#include <iostream>
#include <limits>

using namespace std;

int main( )
{
   cout << "Whether float objects allow denormalized values: "
        << numeric_limits<float>::has_denorm 
        << endl;
   cout << "Whether double objects allow denormalized values: "
        << numeric_limits<double>::has_denorm 
        << endl;
   cout << "Whether long int objects allow denormalized values: " 
        << numeric_limits<long int>::has_denorm 
        << endl;
}
  

요구 사항

헤더: <limits>

네임 스페이스: std

참고 항목

참조

strstreambuf Class