diff options
| author | Eugen Wissner <belka@caraus.de> | 2017-09-18 12:28:13 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2017-09-18 12:28:13 +0200 |
| commit | 14f91b6942a0d5e5ef7556c79dbbbe3ac9c6a80a (patch) | |
| tree | fd37246efd59685209b18a49caa16430248444d6 | |
| parent | be551e934954f8700b9647ada35c69b59de51579 (diff) | |
| download | tanya-14f91b6942a0d5e5ef7556c79dbbbe3ac9c6a80a.tar.gz | |
Don't import math submodules publically
| -rw-r--r-- | source/tanya/math/package.d | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/source/tanya/math/package.d b/source/tanya/math/package.d index 5d7c37d..710b3b2 100644 --- a/source/tanya/math/package.d +++ b/source/tanya/math/package.d @@ -5,6 +5,13 @@ /** * This package provides mathematical functions. * + * The $(D_PSYMBOL tanya.math) package itself provides only representation + * functions for built-in types, such as functions that provide information + * about internal representation of floating-point numbers and low-level + * operatons on these. Actual mathematical functions and additional types can + * be found in its submodules. $(D_PSYMBOL tanya.math) doesn't import any + * submodules publically, they should be imported explicitly. + * * Copyright: Eugene Wissner 2016-2017. * License: $(LINK2 https://www.mozilla.org/en-US/MPL/2.0/, * Mozilla Public License, v. 2.0). @@ -14,9 +21,8 @@ */ module tanya.math; -public import tanya.math.mp; -public import tanya.math.nbtheory; -public import tanya.math.random; +import tanya.math.mp; +import tanya.math.nbtheory; import tanya.meta.trait; /// Floating-point number precisions according to IEEE-754. |
