Difference between revisions of "cpp/numeric/math/acos"
From cppreference.com
m (+see also complex and valarray overloads) |
m (+same) |
||
Line 11: | Line 11: | ||
{{ddcl list item | | {{ddcl list item | | ||
long double acos( long double arg ); | long double acos( long double arg ); | ||
+ | }} | ||
+ | {{ddcl list item | notes={{mark since c++11}} | | ||
+ | double acos( Integer arg ); | ||
}} | }} | ||
{{ddcl list end}} | {{ddcl list end}} |
Revision as of 14:00, 17 January 2012
Template:cpp/numeric/math/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td>Defined in header
</td>
<cmath>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td class="t-dcl-nopad">float acos( float arg );
</td>
<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">
<td class="t-dcl-nopad">double acos( double arg );
</td>
<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">
<td class="t-dcl-nopad">long double acos( long double arg );
</td>
<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">
<td >double acos( Integer arg );
</td>
<td class="t-dcl-nopad"> </td> <td > (since C++11) </td> </tr> Template:ddcl list end
Computes arc cosine of arg
Parameters
arg | - | floating point value |
Return value
arc sine of arg
in radians in the range of [0; π]
radians.
Domain error occurs if arg
is outside the range [-1.0; 1.0]
. Template:cpp is returned in that case.