INFTY 3CW "09 March 2006" "mathcw-1.00"

Table of contents


NAME

inftyf, infty, inftyl, inftyw, inftyq, inftyll, inftydf, inftyd, inftydl, inftydll - infinity function

SYNOPSIS

cc [ flags ] -I/usr/local/include file(s) -L/usr/local/lib -lmcw [ ... ]

#include <mathcw.h>

extern float inftyf (void);

extern double infty (void);

extern long double inftyl (void);

extern __float80 inftyw (void);

extern __float128 inftyq (void);

extern long_long_double inftyll (void);

extern decimal_float inftydf (void);

extern decimal_double inftyd (void);

extern decimal_long_double inftydl (void);

extern decimal_long_long_double inftydll (void);

NB: Functions with prototypes containing underscores in type names may be available only with certain extended compilers.


DESCRIPTION

Compute a floating-point infinity, if the arithmetic supports such a value, and otherwise, use the largest representable floating-point value.

RETURN VALUES

Return Infinity or the largest representable floating-point value.

ERRORS

None.

SEE ALSO

isinf(3CW).