We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a96e314 commit aa60715Copy full SHA for aa60715
M2/Macaulay2/e/interface/random.h
@@ -27,9 +27,11 @@ int32_t rawRandomInt(int32_t max);
27
28
void rawSetRandomInteger(mpz_ptr result, gmp_ZZ maxN);
29
/* if height is the null pointer, use the default height */
30
+/* doesn't deal w/ garbage collection */
31
32
gmp_ZZ rawRandomInteger(gmp_ZZ maxN);
33
34
+/* returns garbage-collected memory */
35
36
void rawSetFareyApproximation(mpq_ptr result, gmp_RR x, gmp_ZZ height);
37
/* sets result = the nearest rational to x w/ denominator <= height */
0 commit comments