mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:17:34 +00:00
JSSpecCompiler: Parse arbitrarily large rational numbers in xspec mode
This commit is contained in:
parent
2a2e31f2ed
commit
86d54a8684
9 changed files with 64 additions and 8 deletions
|
@ -58,6 +58,9 @@ public:
|
|||
ByteString to_byte_string(unsigned rounding_threshold) const;
|
||||
double to_double() const;
|
||||
|
||||
Crypto::SignedBigInteger const& numerator() const& { return m_numerator; }
|
||||
Crypto::UnsignedBigInteger const& denominator() const& { return m_denominator; }
|
||||
|
||||
private:
|
||||
void reduce();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue