⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mathhardlib.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/mathHardLib.html - generated by refgen from ../mc68k/math/mathHardLib.c --> <title> mathHardLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual :  Libraries</i></a></p></blockquote><h1>mathHardLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>mathHardLib</strong> - hardware floating-point math library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./mathHardLib.html#mathHardInit">mathHardInit</a></i>(&nbsp;)</b>  -  initialize hardware floating-point math support<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides support routines for using hardware floating-pointunits with high-level math functions.  The high-level functions includetriginometric operations, exponents, and so forth.<p>The routines in this library are used automatically for high-levelmath functions only if <b><i><a href="./mathHardLib.html#mathHardInit">mathHardInit</a></i>(&nbsp;)</b> has been called previously.<p></blockquote><h4>WARNING</h4><blockquote><p>Not all architectures support hardware floating-point.  See thearchitecture-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="./mathSoftLib.html#top">mathSoftLib</a></b>, <b><a href="./mathALib.html#top">mathALib</a></b>,  <i>VxWorks Programmer's Guide </i>architecture-specific appendices<hr><a name="mathHardInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>mathHardInit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>mathHardInit</i>(&nbsp;)</strong> - initialize hardware floating-point math support</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void mathHardInit ()</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine places the addresses of the hardware high-level mathfunctions (trigonometric functions, etc.) in a set of global variables.This allows the standard math functions (e.g., <b><i><a href="./mathALib.html#sin">sin</a></i>(&nbsp;)</b>, <b><i><a href="./mathALib.html#pow">pow</a></i>(&nbsp;)</b>) to have asingle entry point but to be dispatched to the hardware or softwaresupport routines, as specified.<p>This routine is called from <b>usrConfig.c</b> if <b>INCLUDE_HW_FP</b> is defined.  Thisdefinition causes the linker to include the floating-point hardwaresupport library.<p>Certain routines in the floating-point software emulation library do nothave equivalent hardware support routines.  (These are primarily routinesthat handle single-precision floating-point numbers.)  If no emulationroutine address has already been put in the global variable for thisfunction, the address of a dummy routine that logs an error message isplaced in the variable; if an emulation routine address is present (theemulation initialization, via <b><i><a href="./mathSoftLib.html#mathSoftInit">mathSoftInit</a></i>(&nbsp;)</b>, must be done prior tohardware floating-point initialization), the emulation routine address isleft alone.  In this way, hardware routines will be used for all availablefunctions, while emulation will be used for the missing functions.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mathHardLib.html#top">mathHardLib</a></b>, <b><i><a href="./mathSoftLib.html#mathSoftInit">mathSoftInit</a></i>(&nbsp;)</b></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -