struct BigInt
Overview
A BigInt
can represent arbitrarily large integers.
It is implemented under the hood with GMP.
NOTE To use BigInt
, you must explicitly import it with require "big"
Included Modules
- Comparable(Float)
- Comparable(BigInt)
- Comparable(UInt128 | UInt16 | UInt32 | UInt64 | UInt8)
- Comparable(Int128 | Int16 | Int32 | Int64 | Int8)
Defined in:
big/nason.crConstructors
Class Method Summary
Instance Method Summary
Instance methods inherited from struct Int
to_json_object_key : String
to_json_object_key,
to_nason(json : NASON::Builder) : Nil
to_nason
Instance methods inherited from struct Value
==(other : NASON::Any)
==
Instance methods inherited from class Object
===(other : NASON::Any)
===,
nil_or_null?
nil_or_null?,
not_null!
not_null!,
null?
null?,
to_nason(io : IO) : Nilto_nason : String to_nason, to_pretty_json(indent : String = " ") : String
to_pretty_json(io : IO, indent : String = " ") : Nil to_pretty_json
Class methods inherited from class Object
from_nason(string_or_io, root : String)from_nason(string_or_io) from_nason