xtd 0.2.0
Loading...
Searching...
No Matches
__box_floating_point.hpp
Go to the documentation of this file.
1
3#pragma once
5#if !defined(__XTD_CORE_INTERNAL__)
6#error "Do not include this file: Internal use only"
7#endif
9
10#include "../decimal.hpp"
11
13[[nodiscard]] static constexpr auto __get_epsilon(xtd::decimal) noexcept -> xtd::decimal {return 0;}
14[[nodiscard]] static constexpr auto __get_epsilon(double) noexcept -> double {return 4.94066e-324;}
15[[nodiscard]] static constexpr auto __get_epsilon(float) noexcept -> float {return 1.401298E-45f;}
Contains xtd::decimal type.
long double decimal
Represents a decimal-precision floating-point number.
Definition decimal.hpp:23