Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require "big" if requiring any "big" file #6267

Merged
merged 1 commit into from
Jun 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Expand Down
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.
#
Expand Down
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.
#
Expand Down
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
Expand Down