📄 ansimath.html
字号:
double x /* value to compute the hyperbolic cosine of */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the hyperbolic cosine of <i>x</i> indouble precision (IEEE double, 53 bits).<p>A range error occurs if <i>x</i> is too large.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>The double-precision hyperbolic cosine of <i>x</i>.<p>Special cases:<br> If <i>x</i> is +INF, -INF, or NaN, <b><i><a href="./mathALib.html#cosh">cosh</a></i>( )</b> returns <i>x</i>.<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="exp"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>exp</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>exp</i>( )</strong> - compute an exponential value (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double exp ( double x /* exponent */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the exponential value of <i>x</i> indouble precision (IEEE double, 53 bits).<p>A range error occurs if <i>x</i> is too large.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>The double-precision exponential value of <i>x</i>.<p>Special cases:<br> If <i>x</i> is +INF or NaN, <b><i><a href="./mathALib.html#exp">exp</a></i>( )</b> returns <i>x</i>.<br> If <i>x</i> is -INF, it returns 0.<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="fabs"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>fabs</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>fabs</i>( )</strong> - compute an absolute value (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double fabs ( double v /* number to return the absolute value of */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the absolute value of <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 double-precision absolute value of <i>v</i>.<p></blockquote><h4>ERRNO</h4><blockquote><p>EDOM, ERANGE<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="floor"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>floor</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>floor</i>( )</strong> - compute the largest integer less than or equal to a specified value (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double floor ( double v /* value to find the floor of */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the largest integer less than or equal to <i>v</i>, indouble precision.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>The largest integral value less than or equal to <i>v</i>, in double 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="fmod"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>fmod</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>fmod</i>( )</strong> - compute the remainder of x/y (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double fmod ( double x, /* numerator */ double y /* denominator */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the remainder of <i>x</i>/<i>y</i> with the sign of <i>x</i>,in double precision.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>The value <i>x</i> - <i>i</i> * <i>y</i>, for some integer <i>i</i>. If <i>y</i> isnon-zero, the result has the same sign as <i>x</i> and magnitude less than themagnitude of <i>y</i>. If <i>y</i> is zero, <b><i><a href="./mathALib.html#fmod">fmod</a></i>( )</b> returns zero.<p></blockquote><h4>ERRNO</h4><blockquote><p>EDOM<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="frexp"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>frexp</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>frexp</i>( )</strong> - break a floating-point number into a normalized fraction and power of 2 (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double frexp ( double value, /* number to be normalized */ int * pexp /* pointer to the exponent */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine breaks a double-precision number <i>value</i> into a normalizedfraction and integral power of 2. It stores the integer exponent in <i>pexp</i>.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p><p>The double-precision value <i>x</i>, such that the magnitude of <i>x</i> isin the interval [1/2,1] or zero, and <i>value</i> equals <i>x</i> times2 to the power of <i>pexp</i>. If <i>value</i> is zero, both parts of the resultare zero.<p></blockquote><h4>ERRNO</h4><blockquote><p>EDOM</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiMath.html#top">ansiMath</a></b><hr><a name="ldexp"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>ldexp</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>ldexp</i>( )</strong> - multiply a number by an integral power of 2 (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double ldexp ( double v, /* a floating point number */ int xexp /* exponent */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine multiplies a floating-point number by an integral power of 2.A range error may occur.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>The double-precision value of <i>v</i> times 2 to the power of <i>xexp</i>.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ansiMath.html#top">ansiMath</a></b><hr><a name="log"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>log</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>log</i>( )</strong> - compute a natural logarithm (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double log ( double x /* value to compute the natural logarithm of */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the natural logarithm of <i>x</i>in double precision (IEEE double, 53 bits).<p>A domain error occurs if the argument is negative. A range error may occurif the argument is zero.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>The double-precision natural logarithm of <i>x</i>.<p>Special cases:<br> If <i>x</i> < 0 (including -INF), it returns NaN with signal.<br> If <i>x</i> is +INF, it returns <i>x</i> with no signal.<br> If <i>x</i> is 0, it returns -INF with signal.<br> If <i>x</i> is NaN it returns <i>x</i> with no signal.<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="log10"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>log10</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>log10</i>( )</strong> - compute a base-10 logarithm (ANSI)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>double log10 ( double x /* value to compute the base-10 logarithm of */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the base 10 logarithm of <i>x</i> indouble precision (IEEE double, 53 bits).<p>A domain error occurs if the argument is negative. A range error mayif the argument is zero.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>math.h</b><p></blockquote><h4>RETURNS</h4><blockquote><p>The double-precision base-10 logarithm of <i>x</i>.<p>Special cases:<br> If <i>x</i> < 0, <b><i><a href="./mathALib.html#log10">log10</a></i>( )</b> returns NaN with signal.<br> if <i>x</i> is +INF, it returns <i>x</i> with no signal.<br> if <i>x</i> is 0, it returns -INF with signal.<br> if <i>x</i> is NaN it returns <i>x</i> with no signal.<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="modf"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>modf</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -