Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/BLI_math_mpq.hh')
-rw-r--r--source/blender/blenlib/BLI_math_mpq.hh15
1 files changed, 10 insertions, 5 deletions
diff --git a/source/blender/blenlib/BLI_math_mpq.hh b/source/blender/blenlib/BLI_math_mpq.hh
index ede30da29b8..06fa0a2e257 100644
--- a/source/blender/blenlib/BLI_math_mpq.hh
+++ b/source/blender/blenlib/BLI_math_mpq.hh
@@ -17,10 +17,15 @@
#ifndef __BLI_MATH_MPQ_HH__
#define __BLI_MATH_MPQ_HH__
+/* This file uses an external file header to define the multiprecision
+ * rational type, mpq_class.
+ * This class keeps separate multiprecision integer numerator and
+ * denominator, reduced to lowest terms after each arithmetic operation.
+ * It can be used where it is important to have exact arithmetic results.
+ *
+ * See gmplib.org for full documentation. In particular:
+ * https://gmplib.org/manual/C_002b_002b-Interface-Rationals
+ */
#include "gmpxx.h"
-namespace BLI {
-
-} // namespace BLI
-
-#endif /* __BLI_MATH_NPQ_HH__ */
+#endif /* __BLI_MATH_MPQ_HH__ */