userver: decimal64::RoundUpRoundPolicy 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::RoundUpRoundPolicy Class Referencefinal

Round away from zero. 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 away from zero.

Definition at line 390 of file decimal64.hpp.

Member Function Documentation

◆ DivRounded()

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

Definition at line 401 of file decimal64.hpp.

◆ Round()

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

Definition at line 393 of file decimal64.hpp.


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