blob: 8d7d2bd323a690a3d481f0c32ef924fc4acadb4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# Check possible problems in the MPFR source.
grep '^# *include *<math\.h>' *.c
grep -E 'mpfr_(underflow|overflow|nanflag|inexflag|erangeflag)_p' *.c *.h | \
grep -v '^exceptions.c:' | grep -v '^mpfr-impl.h:#define mpfr_.*_p()' | \
grep -v '^mpfr.h:__MPFR_DECLSPEC '
true
|