📄 floatlib.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/floatLib.html - generated by refgen from floatLib.c --> <title> floatLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference : OS Libraries</i></a></p></blockquote><h1>floatLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>floatLib</strong> - floating-point formatting and scanning library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./floatLib.html#floatInit">floatInit</a>( )</b> - initialize floating-point I/O support<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides the floating-point I/O formatting and scanningsupport routines.<p>The floating-point formatting and scanning support routines are notdirectly callable; they are connected to call-outs in the <b><a href="./fioLib.html#printf">printf</a>( )</b>/<b><a href="./ansiStdio.html#scanf">scanf</a>( )</b>family of functions in <b><a href="./fioLib.html#top">fioLib</a></b>. This is done dynamically by the routine<b><a href="./floatLib.html#floatInit">floatInit</a>( )</b>, which is called by the root task, <b><a href="./usrConfig.html#usrRoot">usrRoot</a>( )</b>, in <b>usrConfig.c</b>when the configuration macro <b>INCLUDE_FLOATING_POINT</b> is defined.If this option is omitted (i.e., <b><a href="./floatLib.html#floatInit">floatInit</a>( )</b> is not called), floating-pointformat specifications in <b><a href="./fioLib.html#printf">printf</a>( )</b> and <b><a href="./fioLib.html#sscanf">sscanf</a>( )</b> are not supported.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./fioLib.html#top">fioLib</a></b><hr><a name="floatInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>floatInit( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>floatInit( )</strong> - initialize floating-point I/O support</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void floatInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine must be called if floating-point format specifications areto be supported by the <b><a href="./fioLib.html#printf">printf</a>( )</b>/<b><a href="./ansiStdio.html#scanf">scanf</a>( )</b> family of routines.If the configuration macro <b>INCLUDE_FLOATING_POINT</b> is defined, it is calledby the root task, <b><a href="./usrConfig.html#usrRoot">usrRoot</a>( )</b>, in <b>usrConfig.c</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./floatLib.html#top">floatLib</a></b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -