Date: Tue, 26 Jul 2016 04:43:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 211376] isunordered description in isgreater(3) man page is inverted Message-ID: <bug-211376-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211376 Bug ID: 211376 Summary: isunordered description in isgreater(3) man page is inverted Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Documentation Assignee: freebsd-doc@FreeBSD.org Reporter: parakleta@darkreality.org The description of the `isunordered()` macro states that it returns non-zer= o if none of its parameters are NaNs, whereas it actually returns non-zero if an= y of its parameters are NaNs. I propose changing the sentence: > The isunordered() macro takes arguments x and y and returns non-zero if > and only if neither x nor y are NaNs. to read instead: > The isunordered() macro takes arguments x and y and returns non-zero if > and only if any of x or y are NaN. The word 'any' could be replaced with 'one or both' but I think 'either' te= nds to have an exclusive connotation so may not be appropriate. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211376-9>