On Mon, Aug 28, 2017 at 09:48:25AM -0600, Todd C. Miller wrote:
> This is not a high quality man page but the following diff corrects
> the error.
>
> - todd
>
> Index: lib/libc/gen/isgreater.3
> ===
> RCS file:
This is not a high quality man page but the following diff corrects
the error.
- todd
Index: lib/libc/gen/isgreater.3
===
RCS file: /cvs/src/lib/libc/gen/isgreater.3,v
retrieving revision 1.3
diff -u -p -u -r1.3 isgreater.3
---
Hi,
according to the man page:
The isunordered() macro takes arguments x and y and returns
non-zero if
and only if neither x nor y are NaNs.
According to math.h:
#define isunordered(x, y) (isnan(x) || isnan(y))
The implementation seems correct.
Piotr