Skip to content

Commit

Permalink
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/big/big_decimal.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "big"

# A `BigDecimal` represents arbitrary precision decimals.
#
# It is internally represented by a pair of `BigInt` and `UInt64`: value and scale.
1 change: 1 addition & 0 deletions src/big/big_float.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "c/string"
require "big"

# A `BigFloat` can represent arbitrarily large floats.
#
1 change: 1 addition & 0 deletions src/big/big_int.cr
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "c/string"
require "big"

# A `BigInt` can represent arbitrarily large integers.
#
2 changes: 2 additions & 0 deletions src/big/big_rational.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "big"

# Rational numbers are represented as the quotient of arbitrarily large
# numerators and denominators. Rationals are canonicalized such that the
# denominator and the numerator have no common factors, and that the

0 comments on commit 4a18335

Please sign in to comment.