tfel
Loading...
Searching...
No Matches
IEEE754.hxx File Reference
#include <cmath>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/Math/General/IEEE754.ixx"

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.
namespace  tfel::math::ieee754

Functions

constexpr int tfel::math::ieee754::fpclassify (const float) noexcept
 a portable implementation of the std::fpclassify function based on the MUSL library (https://www.musl-libc.org).
constexpr int tfel::math::ieee754::fpclassify (const double) noexcept
 a portable implementation of the std::fpclassify function based on the MUSL library (https://www.musl-libc.org)
TFEL_HOST_DEVICE int tfel::math::ieee754::fpclassify (const long double) noexcept
 a portable implementation of the std::fpclassify function based on the MUSL library (https://www.musl-libc.org)
constexpr bool tfel::math::ieee754::isnan (const float) noexcept
 Determines if the given floating point number arg is a not-a-number (NaN) value.
constexpr bool tfel::math::ieee754::isnan (const double) noexcept
 Determines if the given floating point number arg is a not-a-number (NaN) value.
TFEL_HOST_DEVICE bool tfel::math::ieee754::isnan (const long double) noexcept
 Determines if the given floating point number arg is a not-a-number (NaN) value.
constexpr bool tfel::math::ieee754::isfinite (const float) noexcept
 Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN.
constexpr bool tfel::math::ieee754::isfinite (const double) noexcept
 Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN.
TFEL_HOST_DEVICE bool tfel::math::ieee754::isfinite (const long double) noexcept
 Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN.

Detailed Description

Author
Thomas Helfer
Date
13/03/2017