| 528 | Decimal32::operator Decimal64() const { return Decimal64(static_cast<int64_t>(value_)); } |
| 529 | |
| 530 | Decimal64::Decimal64(const std::string& str) : Decimal64() { |
| 531 | *this = FromString(str).ValueOrDie(); |
| 532 | } |
| 533 | |
| 534 | Result<Decimal64> Decimal64::FromReal(float x, int32_t precision, int32_t scale) { |
| 535 | return Decimal64RealConversion::FromReal(x, precision, scale); |