ΒΆtemplate <class DigitsT>
std::pair<DigitsT, int16_t> getSum(
DigitsT LDigits,
int16_t LScale,
DigitsT RDigits,
int16_t RScale)
template <class DigitsT>
std::pair<DigitsT, int16_t> getSum(
DigitsT LDigits,
int16_t LScale,
DigitsT RDigits,
int16_t RScale)
Description
Get the sum of two scaled numbers. Get the sum of two scaled numbers with as much precision as possible.
Declared at: llvm/include/llvm/Support/ScaledNumber.h:332
Templates
- DigitsT
Parameters
- DigitsT LDigits
- int16_t LScale
- DigitsT RDigits
- int16_t RScale