Re: isunordered(3) man page inconsistent with implementation

2017-08-29 Thread Marc Espie
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:

Re: isunordered(3) man page inconsistent with implementation

2017-08-28 Thread Todd C. Miller
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 ---

isunordered(3) man page inconsistent with implementation

2017-08-27 Thread Piotr Durlej
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