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

📄 ansimath.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/ansiMath.html - generated by refgen from ansiMath.c --> <title> ansiMath </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>ansiMath</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>ansiMath</strong> - ANSI <b>math</b> documentation </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./mathALib.html#asin">asin</a></i>(&nbsp;)</b>  -  compute an arc sine (ANSI)<br><b><i><a href="./mathALib.html#acos">acos</a></i>(&nbsp;)</b>  -  compute an arc cosine (ANSI)<br><b><i><a href="./mathALib.html#atan">atan</a></i>(&nbsp;)</b>  -  compute an arc tangent (ANSI)<br><b><i><a href="./mathALib.html#atan2">atan2</a></i>(&nbsp;)</b>  -  compute the arc tangent of y/x (ANSI)<br><b><i><a href="./mathALib.html#ceil">ceil</a></i>(&nbsp;)</b>  -  compute the smallest integer greater than or equal to a specified value (ANSI)<br><b><i><a href="./mathALib.html#cosh">cosh</a></i>(&nbsp;)</b>  -  compute a hyperbolic cosine (ANSI)<br><b><i><a href="./mathALib.html#exp">exp</a></i>(&nbsp;)</b>  -  compute an exponential value (ANSI)<br><b><i><a href="./mathALib.html#fabs">fabs</a></i>(&nbsp;)</b>  -  compute an absolute value (ANSI)<br><b><i><a href="./mathALib.html#floor">floor</a></i>(&nbsp;)</b>  -  compute the largest integer less than or equal to a specified value (ANSI)<br><b><i><a href="./mathALib.html#fmod">fmod</a></i>(&nbsp;)</b>  -  compute the remainder of x/y (ANSI)<br><b><i><a href="./ansiMath.html#frexp">frexp</a></i>(&nbsp;)</b>  -  break a floating-point number into a normalized fraction and power of 2 (ANSI)<br><b><i><a href="./ansiMath.html#ldexp">ldexp</a></i>(&nbsp;)</b>  -  multiply a number by an integral power of 2 (ANSI)<br><b><i><a href="./mathALib.html#log">log</a></i>(&nbsp;)</b>  -  compute a natural logarithm (ANSI)<br><b><i><a href="./mathALib.html#log10">log10</a></i>(&nbsp;)</b>  -  compute a base-10 logarithm (ANSI)<br><b><i><a href="./ansiMath.html#modf">modf</a></i>(&nbsp;)</b>  -  separate a floating-point number into integer and fraction parts (ANSI)<br><b><i><a href="./mathALib.html#pow">pow</a></i>(&nbsp;)</b>  -  compute the value of a number raised to a specified power (ANSI)<br><b><i><a href="./mathALib.html#sin">sin</a></i>(&nbsp;)</b>  -  compute a sine (ANSI)<br><b><i><a href="./mathALib.html#cos">cos</a></i>(&nbsp;)</b>  -  compute a cosine (ANSI)<br><b><i><a href="./mathALib.html#sinh">sinh</a></i>(&nbsp;)</b>  -  compute a hyperbolic sine (ANSI)<br><b><i><a href="./mathALib.html#sqrt">sqrt</a></i>(&nbsp;)</b>  -  compute a non-negative square root (ANSI)<br><b><i><a href="./mathALib.html#tan">tan</a></i>(&nbsp;)</b>  -  compute a tangent (ANSI)<br><b><i><a href="./mathALib.html#tanh">tanh</a></i>(&nbsp;)</b>  -  compute a hyperbolic tangent (ANSI)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>The header <b>math.h</b> declares several mathematical functions and defines onemacro.  The functions take double arguments and return double values.<p>The macro defined is:<dl><dt><b>HUGE_VAL</b><dd>expands to a positive double expression, not necessarily representableas a float. </dl><p>The behavior of each of these functions is defined for all representablevalues of their input arguments.  Each function executes as if it were asingle operation, without generating any externally visible exceptions.<p>For all functions, a domain error occurs if an input argument is outsidethe domain over which the mathematical function is defined.  Thedescription of each function lists any applicable domain errors.  On adomain error, the function returns an implementation-defined value; thevalue EDOM is stored in <b>errno</b>.<p>Similarly, a range error occurs if the result of the function cannot berepresented as a double value.  If the result overflows (the magnitude ofthe result is so large that it cannot be represented in an object of thespecified type), the function returns the value <b>HUGE_VAL</b>, with the samesign (except for the <b><i><a href="./mathALib.html#tan">tan</a></i>(&nbsp;)</b> function) as the correct value of the function;the value ERANGE is stored in <b>errno</b>.  If the result underflows (thetype), the function returns zero; whether the integer expression <b>errno</b>acquires the value ERANGE is implementation defined.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./mathALib.html#top">mathALib</a></b>, American National Standard X3.159-1989<p><hr><a name="asin"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>asin</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>asin</i>(&nbsp;)</strong> - compute an arc sine (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double asin    (    double x /* number between -1 and 1 */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the principal value of the arc sine of <i>x</i>in double precision (IEEE double, 53 bits).If <i>x</i> is the sine of an angle <i>T</i>, this function returns <i>T</i>.<p>A domain error occurs for arguments not in the range [-1,+1].<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>The double-precision arc sine of <i>x</i> in the range [-pi/2,pi/2] radians.<p>Special cases:<br>&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;<i>x</i>&nbsp;is&nbsp;NaN,&nbsp;<b><i><a href="./mathALib.html#asin">asin</a></i>(&nbsp;)</b>&nbsp;returns&nbsp;<i>x</i>.<br>&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;|x|>1,&nbsp;it&nbsp;returns&nbsp;NaN.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiMath.html#top">ansiMath</a></b>, <b><a href="./mathALib.html#top">mathALib</a></b><p><hr><a name="acos"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>acos</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>acos</i>(&nbsp;)</strong> - compute an arc cosine (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double acos    (    double x /* number between -1 and 1 */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns principal value of the arc cosine of <i>x</i>in double precision (IEEE double, 53 bits).If <i>x</i> is the cosine of an angle <i>T</i>, this function returns <i>T</i>.<p>A domain error occurs for arguments not in the range [-1,+1].<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>The double-precision arc cosine of <i>x</i> in the range [0,pi] radians.<p>Special cases:<br>&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;<i>x</i>&nbsp;is&nbsp;NaN,&nbsp;<b><i><a href="./mathALib.html#acos">acos</a></i>(&nbsp;)</b>&nbsp;returns&nbsp;<i>x</i>.<br>&nbsp;&nbsp;&nbsp;&nbsp;If&nbsp;|x|>1,&nbsp;it&nbsp;returns&nbsp;NaN.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiMath.html#top">ansiMath</a></b>, <b><a href="./mathALib.html#top">mathALib</a></b><p><hr><a name="atan"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>atan</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>atan</i>(&nbsp;)</strong> - compute an arc tangent (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double atan    (    double x /* tangent of an angle */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the principal value of the arc tangent of <i>x</i> indouble precision (IEEE double, 53 bits).If <i>x</i> is the tangent of an angle <i>T</i>, this function returns <i>T</i> (in radians).<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>The double-precision arc tangent of <i>x</i> in the range [-pi/2,pi/2] radians.Special case: if <i>x</i> is NaN, <b><i><a href="./mathALib.html#atan">atan</a></i>(&nbsp;)</b> returns <i>x</i> itself.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiMath.html#top">ansiMath</a></b>, <b><a href="./mathALib.html#top">mathALib</a></b><p><hr><a name="atan2"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>atan2</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>atan2</i>(&nbsp;)</strong> - compute the arc tangent of y/x (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double atan2    (    double y, /* numerator */    double x  /* denominator */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the principal value of the arc tangent of <i>y</i>/<i>x</i> indouble precision (IEEE double, 53 bits).This routine uses the signs of both arguments to determine the quadrant of thereturn value.  A domain error may occur if both arguments are zero.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>The double-precision arc tangent of <i>y</i>/<i>x</i>, in the range [-pi,pi] radians.<p>Special cases:<br>&nbsp;&nbsp;&nbsp;&nbsp;Notations:&nbsp;atan2(y,x)&nbsp;==&nbsp;ARG&nbsp;(x+iy)&nbsp;==&nbsp;ARG(x,y).<p><table><tr valign=top><td align=left>    ARG(NAN, (anything))                      </td><td align=left> is </td><td align=left> NaN</tr><tr valign=top><td align=left>    ARG((anything), NaN)                      </td><td align=left> is </td><td align=left> NaN</tr><tr valign=top><td align=left>    ARG(+(anything but NaN), +-0)             </td><td align=left> is </td><td align=left> +-0</tr><tr valign=top><td align=left>    ARG(-(anything but NaN), +-0)             </td><td align=left> is </td><td align=left> +-PI</tr><tr valign=top><td align=left>    ARG(0, +-(anything but 0 and NaN))        </td><td align=left> is </td><td align=left> +-PI/2</tr><tr valign=top><td align=left>    ARG(+INF, +-(anything but INF and NaN))   </td><td align=left> is </td><td align=left> +-0</tr><tr valign=top><td align=left>    ARG(-INF, +-(anything but INF and NaN))   </td><td align=left> is </td><td align=left> +-PI</tr><tr valign=top><td align=left>    ARG(+INF, +-INF)                          </td><td align=left> is </td><td align=left> +-PI/4</tr><tr valign=top><td align=left>    ARG(-INF, +-INF)                          </td><td align=left> is </td><td align=left> +-3PI/4</tr><tr valign=top><td align=left>    ARG((anything but 0, NaN, and INF),+-INF) </td><td align=left> is </td><td align=left> +-PI/2</tr><tr valign=top><td align=left></tr></tr></table></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiMath.html#top">ansiMath</a></b>, <b><a href="./mathALib.html#top">mathALib</a></b><p><hr><a name="ceil"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>ceil</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>ceil</i>(&nbsp;)</strong> - compute the smallest integer greater than or equal to a specified value (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double ceil    (    double v /* value to find the ceiling of */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the smallest integer greater than or equal to <i>v</i>,in double precision.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>The smallest integral value greater than or equal to <i>v</i>, indouble precision.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiMath.html#top">ansiMath</a></b>, <b><a href="./mathALib.html#top">mathALib</a></b><hr><a name="cosh"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>cosh</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>cosh</i>(&nbsp;)</strong> - compute a hyperbolic cosine (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double cosh    (

⌨️ 快捷键说明

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