27#ifndef IDLFE_AST_FIXED_H_
28#define IDLFE_AST_FIXED_H_
35#if defined (__clang__)
36#pragma GCC diagnostic push
37#pragma GCC diagnostic ignored "-Wunused-private-field"
51 return (uint16_t)digits_;
61 return (int16_t)-exponent_;
71 std::vector <uint8_t>
to_BCD ()
const;
76 static Fixed normalize (
const Fixed& f)
noexcept;
89#if defined (__clang__)
90#pragma GCC diagnostic pop
std::string to_string() const
int16_t scale() const noexcept
uint16_t digits() const noexcept
std::vector< uint8_t > to_BCD() const
Abstract Syntax Tree namespace.