[ Web Proxy ]
URL:
Viewing: https://fr.cppreference.com/cpp/preprocessor/impl [Back]  [Original]

Implementation defined behavior control cppreference.com
cppreference.com
Espaces de noms
Variantes

Implementation defined behavior control

De cppreference.com

<metanoindex/>

 
 
Langage C++
Sujets gnraux
Contrle de flux
Instructions conditionnelles
Instructions d'itration
Instructions de saut
Fonctions
dclaration de fonction
expression lambda
fonction gnrique
spcificateur inline
spcification d'exception (obsolte)
spcificateur noexcept (C++11)
Exceptions
Espaces de noms
Types
spcificateur decltype (C++11)
Qualificatifs
qualificatifs const et volatile
qualificatifs de stockage
qualificatif constexpr (C++11)
qualificatif auto (C++11)
qualificatif alignas (C++11)
Initialisation
Littraux
Expressions
oprateurs alternatifs
Utilitaires
Types
dclaration typedef
dclaration d'alias de type (C++11)
attributs (C++11)
Jette
Original:
Casts
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
conversions implicites
conversion const_cast
conversion static_cast
conversion dynamic_cast
conversion reinterpret_cast
conversions style C et style fonction
Allocation de mmoire
Classes
Qualificatifs spcifiques aux membres de classe
Fonctions membres spciales
Modles
classes gnriques
fonctions gnriques
spcialisation de modles
paquets de paramtres (C++11)
Divers
Assembleur
 
 
Comportement dfini par l'implmentation est contrl par la directive #pragma .
Original:
Implementation defined behavior is controlled by #pragma directive.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Syntaxe

#pragma pragma_params

Explication

Directive Pragma contrle spcifique l'implmentation comportement du compilateur, telles que la dsactivation des avertissements du compilateur ou de l'volution des besoins d'alignement. Toute pragma qui n'est pas reconnu est ignor .
Original:
Pragma directive controls implementation-specific behavior of the compiler, such as disabling compiler warnings or changing alignment requirements. Any pragma that is not recognized is ignored.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Pragmas standard

Les trois suivantes pragmas sont dfinis par la norme langue:
Original:
The following three pragmas are defined by the language standard:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
#pragma STDC FENV_ACCESS arg (1)
#pragma STDC FP_CONTRACT arg (2)
#pragma STDC CX_LIMITED_RANGE arg (3)
o arg est soit ON ou OFF ou DEFAULT .
Original:
where arg is either ON or OFF or DEFAULT.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

1)

S'il est rgl sur ON, signale au compilateur que le programme peut accder ou modifier virgule flottante environnement, ce qui signifie que les optimisations qui pourraient subvertir les tests du pavillon et changement de mode (par exemple, l 'limination de sous-expressions communes, dplacement de code et constantes) sont interdits. La valeur par dfaut est dfinie par l'implmentation, gnralement OFF .
Original:
If set to ON, informs the compiler that the program will access or modify virgule flottante environnement, which means that optimizations that could subvert flag tests and mode changes (e.g., global common subexpression elimination, code motion, and constant folding) are prohibited. The default value is implementation-defined, usually OFF.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

2)

Permet' traitance des expressions en virgule flottante, c'est-optimisations qui omettent des erreurs d'arrondi en virgule flottante et les exceptions qui seraient observs si l'expression a t value exactement comme crit. La valeur par dfaut est dfinie par l'implmentation, gnralement ON .
Original:
Allows contracting of floating-point expressions, that is optimizations that omit rounding errors and floating-point exceptions that would be observed if the expression was evaluated exactly as written. The default value is implementation-defined, usually ON.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

3)

Informe le compilateur que la multiplication, la division, et la valeur absolue des nombres complexes peuvent utiliser des formules mathmatiques simplifis, en dpit de la possibilit de dbordement intermdiaire. La gamme des valeurs transmises ceux de fonction devrait tre limite. La valeur par dfaut est OFF
Original:
Informs the compiler that multiplication, division, and absolute value of complex numbers may use simplified mathematical formulas, despite the possibility of intermediate overflow. The range of the values passed to those function is expected to be limited. The default value is OFF
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Liens externes


Web Proxy Viewer  |  New URL  |  Original Page