📄 mathsoftlib.html
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/mathSoftLib.html - generated by refgen from ../mc68k/math/mathSoftLib.c --> <title> mathSoftLib </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>mathSoftLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>mathSoftLib</strong> - high-level floating-point emulation library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./mathSoftLib.html#mathSoftInit">mathSoftInit</a>( )</b> - initialize software floating-point math support<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides software emulation of various high-levelfloating-point operations. This emulation is generally for use in systemsthat lack a floating-point coprocessor.<p></blockquote><h4>WARNING</h4><blockquote><p>Software floating point is not supported for all architectures. Seethe architecture-specific appendices of the<i>VxWorks Programmer's Guide. </i><p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mathHardLib.html#top">mathHardLib</a></b>, <b><a href="./mathALib.html#top">mathALib</a></b>,<i>VxWorks Programmer's Guide </i>architecture-specific appendices<p><hr><a name="mathSoftInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>mathSoftInit( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>mathSoftInit( )</strong> - initialize software floating-point math support</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void mathSoftInit ()</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine places the addresses of the emulated high-level mathfunctions (trigonometric functions, etc.) in a set of global variables.This allows the standard math functions (e.g., <b><a href="./mathALib.html#sin">sin</a>( )</b>, <b><a href="./mathALib.html#pow">pow</a>( )</b>) to have asingle entry point but be dispatched to the hardware or software supportroutines, as specified.<p>This routine is called from <b>usrConfig.c</b> if <b>INCLUDE_SW_FP</b> is defined.This definition causes the linker to include the floating-pointemulation library.<p>If the system is to use some combination of emulated as well as hardwarecoprocessor floating points, then this routine should be called before calling<b><a href="./mathHardLib.html#mathHardInit">mathHardInit</a>( )</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mathSoftLib.html#top">mathSoftLib</a></b>, <b><a href="./mathHardLib.html#mathHardInit">mathHardInit</a>( )</b></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -