| 301 | |
| 302 | template <typename Real> |
| 303 | static Real ToRealPositiveNoSplit(const Decimal32& decimal, int32_t scale) { |
| 304 | Real x = static_cast<Real>(decimal.value()); |
| 305 | x *= LargePowerOfTen<Real>(-scale); |
| 306 | return x; |
| 307 | } |
| 308 | |
| 309 | template <typename Real> |
| 310 | static Real ToRealPositive(const Decimal32& decimal, int32_t scale) { |