2 .TH linreg 3 "9 March 2024" "Straylight/Edgeware" "mLib utilities library"
9 .B "#include <mLib/maths.h>"
11 .BI "int NANP(" floatish " " x );
12 .BI "int INFP(" floatish " " x );
13 .BI "int NEGP(" floatish " " x );
19 header declares some minor low-level floating-point utilities.
20 These are mostly redundant with C99,
21 but provided for portability to older platforms.
25 macro returns nonzero if its argument is not-a-number.
28 macro returns nonzero if its argument is infinite.
31 macro returns nonzero if its argument is negative;
32 on IEEE\ 754 platforms with sufficient support,
33 it will correctly detect negative zero.
36 Mark Wooding, <mdw@distorted.org.uk>