Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Minimum-width floating-point typedefs

The typedef float_least#_t, with # replaced by the width, designates a floating-point type with a width of at least # bits, such that no floating-point type with lesser size has at least the specified width. Thus, float_least32_t denotes the smallest floating-point type with a width of at least 32 bits.

Minimum-width floating-point types are provided for all existing exact-width floating-point types on a given platform.

For example, if a platform supports float32_t and float64_t, then float_least32_t and float_least64_t will also be supported, etc.


PrevUpHomeNext