~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/changelog: Prepare for next minor version.
[catacomb]
/
math
/
fgoldi.c
diff --git
a/math/fgoldi.c
b/math/fgoldi.c
index
1b09b58
..
43309dc
100644
(file)
--- a/
math/fgoldi.c
+++ b/
math/fgoldi.c
@@
-962,6
+962,7
@@
int fgoldi_quosqrt(fgoldi *z, const fgoldi *x, const fgoldi *y)
#ifdef TEST_RIG
#ifdef TEST_RIG
+#include <mLib/macros.h>
#include <mLib/report.h>
#include <mLib/str.h>
#include <mLib/testrig.h>
#include <mLib/report.h>
#include <mLib/str.h>
#include <mLib/testrig.h>
@@
-1002,7
+1003,7
@@
static void dump_fgoldi_ref(dstr *d, FILE *fp)
}
static int eq(const fgoldi *x, dstr *d)
}
static int eq(const fgoldi *x, dstr *d)
- { octet b[56]; fgoldi_store(b, x); return (
memcmp(b, d->buf, 56) == 0
); }
+ { octet b[56]; fgoldi_store(b, x); return (
MEMCMP(b, ==, d->buf, 56)
); }
static const test_type
type_fgoldi = { cvt_fgoldi, dump_fgoldi },
static const test_type
type_fgoldi = { cvt_fgoldi, dump_fgoldi },