FLT_ROUNDS

Defined in header <cfloat> #define FLT_ROUNDS /* implementation defined */ (since C++11) Specifies the current rounding direction of floating-point arithmetic operations. Value Explanation -1 the default rounding direction is not known 0 toward zero, FE_TOWARDZERO 1 to nearest, FE_TONEAREST 2 towards positive infinity, FE_UPWARD 3 towards negative infinity, FE_DOWNWARD other values implementation-defined behavior Notes The rounding mode can

Floating-point environment

The floating-point environment is the set of floating-point status flags and control modes supported by the implementation. It is thread-local, each thread inherits the initial state of its floating-point environment from the parent thread. Floating-point operations modify the floating-point status flags to indicate abnormal results or auxiliary information. The state of floating-point control modes affects the outcomes of some floating-point operations. The floating-point environment access an

for

Usage for loop: as the declaration of the loop range-based for loop: as the declaration of the loop (since C++11)

FLT_EVAL_METHOD

Defined in header <cfloat> #define FLT_EVAL_METHOD /* implementation defined */ (since C++11) Specifies the precision in which all floating-point arithmetic operations other than assignment and cast are done. Value Explanation negative values except -1 implementation-defined behavior -1 the default precision is not known 0 all operations and constants evaluate in the range and precision of the type used. Additionally, float_t and double_t are equivalent to fl

float

Usage float type: as the declaration of the type

Fixed width integer types

Types Defined in header <cstdint> int8_tint16_tint32_tint64_t (optional) signed integer type with width of exactly 8, 16, 32 and 64 bits respectivelywith no padding bits and using 2's complement for negative values(provided only if the implementation directly supports the type) (typedef) int_fast8_tint_fast16_tint_fast32_tint_fast64_t fastest signed integer type with width of at least 8, 16, 32 and 64 bits respectively (typedef) int_least8_tint_least16_tint_least32_tint_l

final specifier

Specifies that a virtual function cannot be overridden in a derived class or that a class cannot be inherited from. Syntax The identifier final, if used, appears immediately after the declarator in the syntax of a member function declaration or a member function definition. declarator virt-specifier-seq(optional) pure-specifier(optional) (1) declarator virt-specifier-seq(optional) function-body (2) class-key attr(optional) class-head-name class-virt-specifier(optional) :base-spe

floating point literal

Floating point literal defines a compile-time constant whose value is specified in the source file. Syntax Floating-point literals have two syntaxes. The first one consists of the following parts: nonempty sequence of decimal digits containing a decimal point character (defines significand) (optional) e or E followed with optional minus or plus sign and nonempty sequence of decimal digits (defines exponent) (optional) a suffix type specifier as a l, f, L or F The second one consists

final

Usage final specifier

Filename and line information

Changes the current file name and number in the preprocessor. Syntax #line lineno (1) #line lineno "filename" (2) Explanation 1) Changes the current preprocessor line number to lineno. Expansions of the macro __LINE__ beyond this point will expand to lineno plus the number of actual source code lines encountered since. 2) Also changes the current preprocessor file name to filename. Expansions of the macro __FILE__ from this point will produce filename. Any preprocessing toke