std::scalbn, std::scalbln
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <cmath>
|
||
float scalbn( float x, int exp ); |
(depuis C++11) | |
double scalbn( double x, int exp ); |
(depuis C++11) | |
long double scalbn( long double x, int exp ); |
(depuis C++11) | |
double scalbn( Integral x, int exp ); |
(depuis C++11) | |
float scalbln( float x, long exp ); |
(depuis C++11) | |
double scalbln( double x, long exp ); |
(depuis C++11) | |
long double scalbln( long double x, long exp ); |
(depuis C++11) | |
double scalbln( Integral x, long exp ); |
(depuis C++11) | |
Multiplie une valeur à virgule flottante
x par FLT_RADIX porté à exp pouvoir. Le système binaire est équivalent à ldexp()Original:
Multiplies an floating point value
x by FLT_RADIX raised to power exp. On binary system it is equivalent to ldexp()The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| arg | - | valeur du point flottant
Original: floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| exp | - | valeur entière
Original: integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Retourne la valeur
x×FLT_RADIXexp rendementsOriginal:
returns
x×FLT_RADIXexpThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Si le résultat est trop grand pour le type sous-jacent, une erreur d'intervalle se produit et HUGE_VAL est retourné .
Original:
If the result is too large for the underlying type, range error occurs and HUGE_VAL is returned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Voir aussi
se décompose en un certain nombre mantisse et d'une puissance de 2 Original: decomposes a number into significand and a power of 2 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) | |
multiplie par un nombre 2 élevé à une puissanceOriginal: multiplies a number by 2 raised to a powerThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction) |