projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getlogin, getlogin_r: Avoid test failure.
[gnulib.git]
/
tests
/
test-trunc2.c
diff --git
a/tests/test-trunc2.c
b/tests/test-trunc2.c
index
f704bcb
..
397e1ad
100644
(file)
--- a/
tests/test-trunc2.c
+++ b/
tests/test-trunc2.c
@@
-1,5
+1,5
@@
/* Test of rounding towards zero.
/* Test of rounding towards zero.
- Copyright (C) 2007-20
08
Free Software Foundation, Inc.
+ Copyright (C) 2007-20
10
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-24,21
+24,9
@@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
-#include <stdlib.h>
#include "isnand-nolibm.h"
#include "isnand-nolibm.h"
-
-#define ASSERT(expr) \
- do \
- { \
- if (!(expr)) \
- { \
- fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \
- fflush (stderr); \
- abort (); \
- } \
- } \
- while (0)
+#include "macros.h"
/* The reference implementation, taken from lib/trunc.c. */
/* The reference implementation, taken from lib/trunc.c. */