xtd 0.2.0
Loading...
Searching...
No Matches
__box_floating_point.h
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 "../types.h"
11
13static constexpr xtd::decimal __get_epsilon(xtd::decimal) noexcept {return 0;}
14static constexpr double __get_epsilon(double) noexcept {return 4.94066e-324;}
15static constexpr float __get_epsilon(float) noexcept {return 1.401298E-45f;}
long double decimal
Represents a decimal-precision floating-point number.
Definition decimal.h:23