| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
INFNANSection: Linux Programmer's Manual (3)Updated: June 2, 2025 Index NAMEinfnan - deal with infinite or not-a-number (NaN) resultSYNOPSIS#include <math.h> double infnan(int error); DESCRIPTIONThe infnan() function returns a suitable value for infinity and "not-a-number" (NaN) results. The value of error can be ERANGE to represent infinity or anything else to represent NaN. errno is also set.RETURN VALUEIf error is ERANGE (Infinity), HUGE_VAL is returned.If error is -ERANGE (-Infinity), -HUGE_VAL is returned. If error is anything else, NAN is returned. ERRORS
CONFORMING TOBSD 4.3
IndexThis document was created by using the manual pages. Time: 11:58:04 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |