{"id":6963,"date":"2022-12-20T19:34:31","date_gmt":"2022-12-20T22:34:31","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/infinity-man3\/"},"modified":"2022-12-20T19:34:31","modified_gmt":"2022-12-20T22:34:31","slug":"infinity-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/infinity-man3\/","title":{"rendered":"INFINITY (man3)"},"content":{"rendered":"<h1 align=\"center\">INFINITY<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#CONFORMING TO\">CONFORMING TO<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#COLOPHON\">COLOPHON<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \u2212 floating-point constants<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>#define _ISOC99_SOURCE<\/b> \/bin \/boot \/dead.letter \/dev \/etc \/home \/initrd \/lib \/lib64 \/lost+found \/media \/mnt \/opt \/proc \/release-notes.html \/release-notes.txt \/root \/run \/sbin \/srv \/sys \/tmp \/usr \/var See feature_test_macros(7) bodies\/ usr\/ <b><br \/> #include <math.h><\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>INFINITY<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>NAN<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>HUGE_VAL <br \/> HUGE_VALF <br \/> HUGE_VALL<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The macro <b>INFINITY<\/b> expands to a <i>float<\/i> constant representing positive infinity.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The macro <b>NAN<\/b> expands to a <i>float<\/i> constant representing a quiet NaN (when supported). A <i>quiet<\/i> NaN is a NaN (&#8220;not-a-number&#8221;) that does not raise exceptions when it is used in arithmetic. The opposite is a <i>signaling<\/i> NaN. See IEC 60559:1989.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The macros <b>HUGE_VAL<\/b>, <b>HUGE_VALF<\/b>, <b>HUGE_VALL<\/b> expand to constants of types <i>double<\/i>, <i>float<\/i>, and <i>long double<\/i>, respectively, that represent a large positive value, possibly positive infinity.<\/p>\n<h2>CONFORMING TO <a name=\"CONFORMING TO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">C99.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">On a glibc system, the macro <b>HUGE_VAL<\/b> is always available. Availability of the <b>NAN<\/b> macro can be tested using <b>#ifdef NAN<\/b>, and similarly for <b>INFINITY<\/b>, <b>HUGE_VALF<\/b>, <b>HUGE_VALL<\/b>. They will be defined by <i><math.h><\/i> if <b>_ISOC99_SOURCE<\/b> or <b>_GNU_SOURCE<\/b> is defined, or <b>__STDC_VERSION__<\/b> is defined and has a value not less than 199901L.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>fpclassify<\/b>(3), <b>math_error<\/b>(7)<\/p>\n<h2>COLOPHON <a name=\"COLOPHON\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This page is part of release 5.10 of the Linux <i>man-pages<\/i> project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https:\/\/www.kernel.org\/doc\/man\u2212pages\/.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \u2212 floating-point constants <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2536],"tags":[2538,3315,3007],"class_list":["post-6963","post","type-post","status-publish","format-standard","hentry","category-3-llamadas-de-bibliotecas","tag-2538","tag-infinity","tag-man3"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6963"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6963\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}