Difference between revisions of "cpp/numeric/math/scalbn"
m (Text replace - "{{params}}" to "===Parameters===") |
m (Text replace - "{{returns}}" to "===Return value===") |
||
Line 33: | Line 33: | ||
<!-- ======== --> | <!-- ======== --> | ||
− | + | ===Return value=== | |
returns {{tt|x×FLT_RADIX<sup>exp</sup>}} | returns {{tt|x×FLT_RADIX<sup>exp</sup>}} |
Revision as of 17:49, 2 August 2011
Template:cpp/numeric/math/sidebar Template:ddcl list begin <tr class="t-dsc-header">
<td><cmath>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td ><td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td ><td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td ><td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td ><td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td ><td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> <tr class="t-dcl ">
<td ><td class="t-dcl-nopad"> </td> <td > Template:mark c++0x feature </td> </tr> Template:ddcl list end
Multiplies an floating point value x
by Template:cpp raised to power exp
. On binary system it is equivalent to ldexp()
Parameters
arg | - | floating point value |
exp | - | integer value |
Return value
returns x×FLT_RADIXexp
If the result is too large for the underlying type, range error occurs and Template:cpp is returned.