IDS peak IPL v1.18.0
Loading...
Searching...
No Matches
peak_common_math.hpp File Reference
#include <type_traits>
#include <algorithm>
#include <cstdint>
#include <cstdlib>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  peak
namespace  peak::common
 Root namespace for common types and interfaces shared across multiple libraries.
namespace  peak::common::detail
 Namespace for internal implementation details and low-level types.

Functions

template<typename H>
constexpr bool peak::common::detail::AreAlmostEqual (H lhs, H rhs, uint32_t ulp)
 Compares two floating-point values for approximate equality using a ULP-based tolerance.
template<typename T>
constexpr T peak::common::detail::Clamp (T value, T minimum, T maximum)

Detailed Description

Since
ids_peak_common 1.0