std::fma — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Déclaré dans l'en-tête <cmath> |
||
|
|
(1) | (depuis C++11) |
|
|
(2) | (depuis C++11) |
|
|
(3) | (depuis C++11) |
|
|
(4) | (depuis C++11) |
|
|
(5) | (depuis C++11) |
|
|
(6) | (depuis C++11) |
|
|
(7) | (depuis C++11) |
Calculer les fonctions fma (x*y) + z, arrondie comme une opération ternaire, selon l'
Original:
The fma functions compute (x*y) + z, rounded as one ternary operation, according to the
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
mode d'arrondi caractérisé par la valeur de FLT_ROUNDS .
Original:
rounding mode characterized by the value of FLT_ROUNDS.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
Si un argument est de type intégral, il est jeté à double. Si aucun autre argument est long double, puis le type de retour est long double, sinon il est double .
Original:
If any argument has integral type, it is cast to double. If any other argument is long double, then the return type is long double, otherwise it is double.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
5-7)
Si les constantes macro FP_FAST_FMAF, FP_FAST_FMA ou FP_FAST_FMAL sont définies, la fonction évalue std::fma plus vite que l'expression x*y+z pour float, double, arguments et long double, respectivement. Si elle est définie, ces macros à évaluer 1 entier .
Original:
If the macro constants FP_FAST_FMAF, FP_FAST_FMA, or FP_FAST_FMAL are defined, the function std::fma evaluates faster than the expression x*y+z for float, double, and long double arguments, respectively. If defined, these macros evaluate to integer 1.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Paramètres
| x, y, z | - | valeurs à virgule flottante Original: floating point values The text has been machine-translated via Google Translate. |
Retourne la valeur
(x*y) + z, arrondie comme une opération ternaire
Original:
(x*y) + z, rounded as one ternary operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Voir aussi
signé reste de l'opération de division Original: signed remainder of the division operation The text has been machine-translated via Google Translate. (fonction) [edit] | |
signé reste ainsi que les trois derniers bits de l'opération de division Original: signed remainder as well as the three last bits of the division operation The text has been machine-translated via Google Translate. (fonction) [edit] | |