INFINITY
NAMESYNOPSIS
DESCRIPTION
CONFORMING TO
AVAILABILITY
SEE ALSO
COLOPHON
NAME
INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL − floating-point constants
SYNOPSIS
#define
_ISOC99_SOURCE /* See feature_test_macros(7) */
#include <math.h>
INFINITY
NAN
HUGE_VAL
HUGE_VALF
HUGE_VALL
DESCRIPTION
The macro INFINITY expands to a float constant representing positive infinity.
The macro NAN expands to a float constant representing a quiet NaN (when supported). A quiet NaN is a NaN ("not-a-number") that does not raise exceptions when it is used in arithmetic. The opposite is a signaling NaN. See IEC 60559:1989.
The macros HUGE_VAL, HUGE_VALF, HUGE_VALL expand to constants of types double, float and long double, respectively, that represent a large positive value, possibly positive infinity.
CONFORMING TO
C99.
AVAILABILITY
On a glibc system, the macro HUGE_VAL is always available. Availability of the NAN macro can be tested using #ifdef NAN, and similarly for INFINITY, HUGE_VALF, HUGE_VALL. They will be defined by <math.h> if _ISOC99_SOURCE or _GNU_SOURCE is defined, or __STDC_VERSION__ is defined and has a value not less than 199901L.
SEE ALSO
COLOPHON
This page is part of release 3.69 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at http://www.kernel.org/doc/man−pages/.
More Linux Commands
manpages/systemd.kill.5.html
systemd.kill(5) Process killing procedure configuration.....
Unit configuration files for services, sockets, mount points, swap devices and scopes share a subset of configuration options which define the killing procedure
manpages/initscr.3ncurses.html
initscr(3ncurses) - curses screen initialization and manipul
initscr is normally the first curses routine to call when initializing a program. A few special routines sometimes need to be called before it; these are slk_in
manpages/ifcfg-bridge.5.html
ifcfg-bridge(5) - ethernet bridge interface configuration...
To setup a bridge interface you need a configuration file ifcfg-<interface-name> with the usual network settings. But you must add additional variables: BRIDGE.
manpages/Tk_FreeImage.3.html
Tk_FreeImage(3) - use an image in a widget - Linux man page
These procedures are invoked by widgets that wish to display images. Tk_GetImage is invoked by a widget when it first decides to display an image. name gives th
manpages/pdfseparate.1.html
pdfseparate(1) - Portable Document Format (PDF) page extract
pdfseparate extract single pages from a Portable Document Format (PDF). pdfseparate reads the PDF file PDF-file, extracts one or more pages, and writes one PDF
manpages/getconf.1.html
getconf(1) - print system configuration variables (ManPage)
-a Displays all configuration variables for the current system and their values. -v Indicate the specification and version for which to obtain configuration var
manpages/getaliasbyname.3.html
getaliasbyname(3) - read an alias entry - Linux manual page
One of the databases available with the Name Service Switch (NSS) is the aliases database, that contains mail aliases. (To find out which databases are supporte
manpages/Mail::SpamAssassin::Plugin::Hashcash.3pm.html
Mail::SpamAssassin::Plugin::Hashcash(3pm) - perform hashcash
Hashcash is a payment system for email where CPU cycles used as the basis for an e-cash system. This plugin makes it possible to use valid hashcash tokens added
manpages/mkinitrd.8.html
mkinitrd(8) - create initrd disk image - Linux manual page
mkinitrd creates an initramfs image <initrd-image> for the kernel with version <kernel-version> by calling dracut. Important This version of mkinitrd is provide
manpages/link_field.3form.html
link_field(3form) - create and destroy form fields (ManPage)
The function new_field allocates a new field and initializes it from the parameters given: height, width, row of upper-left corner, column of upper-left corner,
manpages/cpfind.1.html
cpfind(1) - Feature matching for panoramic stitching........
cpfind cpfind is a control-point detector for Hugin. It expects a project file as input and writes a project file with control-points on success. It depends on
manpages/XtIsApplicationShell.3.html
XtIsApplicationShell(3) - obtain and verify a widget's class
The XtClass function returns a pointer to the widgets class structure. The XtSuperclass function returns a pointer to the widgets superclass class structure. Th
