|
LibreOffice Module o3tl (master) 1
|
Go to the source code of this file.
Namespaces | |
| namespace | o3tl |
Functions | |
| template<typename F , typename I > | |
| constexpr std::enable_if_t< std::is_floating_point_v< F > &&std::is_integral_v< I >, bool > | o3tl::convertsToAtLeast (F value, I min) |
| template<typename F , typename I > | |
| constexpr std::enable_if_t< std::is_floating_point_v< F > &&std::is_integral_v< I >, bool > | o3tl::convertsToAtMost (F value, I max) |
| template<typename I , typename F > | |
| constexpr std::enable_if_t< std::is_floating_point_v< F > &&std::is_integral_v< I >, I > | o3tl::saturating_cast (F f) |
| template<typename F > | |
| std::enable_if_t< std::is_floating_point_v< F >, F > | o3tl::roundAway (F value) |