12#include "../macros.hpp"
13#include "concepts.hpp"
16hi_export_module(hikogui.utility.numbers);
25constexpr auto large_number_v = T{16777215};
29template<std::
floating_po
int T>
41template<std::
floating_po
int T>
44template<std::
floating_po
int T>
49template<std::
floating_po
int T>
DOXYGEN BUG.
Definition algorithm.hpp:16
constexpr auto points_per_inch_v
The number of points (typography) per inch.
Definition numbers.hpp:30
constexpr auto dp_per_inch_v
The number of device independent pixels per inch.
Definition numbers.hpp:42
constexpr double points_per_inch
Definition numbers.hpp:57
constexpr double dp_per_inch
Definition numbers.hpp:61
constexpr T points_to_dp(T x) noexcept
Convert points to device independent pixels.
Definition numbers.hpp:50
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:377