◐ Shell
clean mode source ↗

INFINITY — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<cmath>

#define INFINITY /*implementation defined*/

(depuis C++11)

Le INFINITY macro s'étend à l'expression constante de type de float qui évalue l'infini positif ou non signé, si elle est soutenue par la mise en œuvre, ou à une valeur positive qui est garanti pour déborder un float au moment de la compilation .

Original:

The macro INFINITY expands to constant expression of type float which evaluates to positive or unsigned infinity, if supported by implementation, or to a positive value that is guaranteed to overflow a float at compile time.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Voir aussi

[

statique

Original:

static

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

]

renvoie la valeur infinie positive de la donnée à virgule flottante de type

Original:

returns the positive infinity value of the given floating-point type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction membre publique statique de std::numeric_limits) [edit]

vérifie si le nombre donné est infini

Original:

checks if the given number is infinite

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction) [edit]