Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::numeric_limits<T>::has_denorm

      From cppreference.com
      <cpp‎ |types‎ |numeric limits
       
       
      Utilities library
       
       
      std::numeric_limits
      Static constants
      numeric_limits::has_denorm
      Static member functions
      Helper types
       
      staticconststd::float_denorm_style has_denorm;
      (until C++11)
      staticconstexprstd::float_denorm_style has_denorm;
      (since C++11)
      (deprecated in C++23)

      The value ofstd::numeric_limits<T>::has_denorm identifies the floating-point types that supportsubnormal values.

      [edit]Standard specializations

      T value ofstd::numeric_limits<T>::has_denorm
      /* non-specialized */std::denorm_absent
      boolstd::denorm_absent
      charstd::denorm_absent
      signedcharstd::denorm_absent
      unsignedcharstd::denorm_absent
      wchar_tstd::denorm_absent
      char8_t(since C++20)std::denorm_absent
      char16_t(since C++11)std::denorm_absent
      char32_t(since C++11)std::denorm_absent
      shortstd::denorm_absent
      unsignedshortstd::denorm_absent
      intstd::denorm_absent
      unsignedintstd::denorm_absent
      longstd::denorm_absent
      unsignedlongstd::denorm_absent
      longlong(since C++11)std::denorm_absent
      unsignedlonglong(since C++11)std::denorm_absent
      float usuallystd::denorm_present
      double usuallystd::denorm_present
      longdouble usuallystd::denorm_present

      [edit]See also

      [static]
      returns the smallest positive subnormal value of the given floating-point type
      (public static member function)[edit]
      indicates floating-point denormalization modes
      (enum)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/types/numeric_limits/has_denorm&oldid=149599"

      [8]ページ先頭

      ©2009-2025 Movatter.jp