std::float_round_style
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>| definiert in Header <limits>
|
||
enum float_round_style { round_indeterminate = -1, round_toward_zero = 0, round_to_nearest = 1, round_toward_infinity = 2, round_toward_neg_infinity = 3 }; |
||
Enumeration Konstanten vom Typ std::float_round_style zeigen die Rundung Stil von Floating-Point-Arithmetik verwendet, wenn ein Ergebnis eines Ausdrucks in einem Objekt einer Fließkomma-Typ gespeichert wird. Die Werte sind:
Original:
Enumeration constants of type std::float_round_style indicate the rounding style used by floating-point arithmetics whenever a result of an expression is stored in an object of a floating-point type. The values are:
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.
Enumeration Konstanten
Name
Original: Name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
| std::round_indeterminate | Abgerundet Stil kann nicht ermittelt werden
Original: Rounding style cannot be determined The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_toward_zero | Rundung in Richtung Null
Original: Rounding toward zero The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_to_nearest | Rundung in Richtung nächste darstellbare Wert
Original: Rounding toward nearest representable value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_toward_infinity | Rundung in Richtung plus unendlich
Original: Rounding toward positive infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| std::round_toward_neg_infinity | Rundung in Richtung minus unendlich
Original: Rounding toward negative infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
