Skip to content

Commit

Permalink
Require "big" if requiring any "big" file (#6267)
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite authored and Serdar Dogruyol committed Jun 27, 2018
1 parent c9f449c commit 4a18335
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/big/big_decimal.cr
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions src/big/big_float.cr
@@ -1,4 +1,5 @@
require "c/string"
require "big"

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

# A `BigInt` can represent arbitrarily large integers.
#
Expand Down
2 changes: 2 additions & 0 deletions src/big/big_rational.cr
@@ -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
Expand Down

0 comments on commit 4a18335

Please sign in to comment.