📄 float.h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title><float.h></title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_005_095"> </a>NAME</h4><blockquote>float.h - floating types</blockquote><h4><a name = "tag_000_005_096"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <float.h></code></pre></blockquote><h4><a name = "tag_000_005_097"> </a>DESCRIPTION</h4><blockquote>The characteristics of floating types are defined in terms of amodel that describes a representation of floating-point numbersand values that provide information about animplementation's floating-point arithmetic.<p>The following parameters are used to define the model for eachfloating-point type:<img src="../images/floath1.gif" border=0><p>FLT_RADIX will be a constant expression suitable for use in the <b>#if</b>preprocessing directives. All except FLT_RADIX and FLT_ROUNDS have separatenames for all three floating-point types. The floating-point modelrepresentation is provided for all macro names except FLT_ROUNDS.<p>The rounding mode for floating-point addition is characterised bythe value of FLT_ROUNDS:<dl compact><dt>-1<dd>indeterminable<dt>0<dd>toward 0.0<dt>1<dd>to nearest<dt>2<dd>toward positive infinity<dt>3<dd>toward negative infinity</dl><p>All other values for FLT_ROUNDS characterise implementation-dependentrounding behaviour.<p>The macro names given in the following list will be defined asexpressions with values that are equal or greaterin magnitude (absolute value) to those shown, with the samesign.<p><img src="../images/floath2.gif" border=0><p>The macro names given in the following list will bedefined as expressions with values that will beequal to or greater than those shown.<br><img src="../images/floath3.gif" border=0><p>The macro names given in the following list will bedefined as expressions with values that will beequal to or less than those shown.<p><img src="../images/floath4.gif" border=0><br></blockquote><h4><a name = "tag_000_005_098"> </a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_005_099"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_005_100"> </a>SEE ALSO</h4><blockquote>None.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -