userver: decimal64::RoundDownRoundPolicy Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
decimal64::RoundDownRoundPolicy Class Referencefinal

Round towards zero. The fastest rounding. More...

#include <userver/decimal64/decimal64.hpp>

Static Public Member Functions

template<typename T >
static constexpr int64_t Round (T value)
 
static constexpr int64_t DivRounded (int64_t a, int64_t b, bool)
 

Detailed Description

Round towards zero. The fastest rounding.

Definition at line 376 of file decimal64.hpp.

Member Function Documentation

◆ DivRounded()

static constexpr int64_t decimal64::RoundDownRoundPolicy::DivRounded ( int64_t  a,
int64_t  b,
bool   
)
inlinestaticconstexpr

Definition at line 383 of file decimal64.hpp.

◆ Round()

template<typename T >
static constexpr int64_t decimal64::RoundDownRoundPolicy::Round ( value)
inlinestaticconstexpr

Definition at line 379 of file decimal64.hpp.


The documentation for this class was generated from the following file: