|
CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
|
A floating-point value decomposed into components for printing. More...
#include <float_to_string_helpers.hh>
Public Attributes | |
| uint32_t | integral |
| The integral component (before the decimal point). | |
| uint32_t | decimal |
| The decimal component (after the decimal point). | |
| int16_t | exponent |
| The exponent (the power of ten that this is raised to). | |
| int8_t | decimalPlaces |
| The number of decimal places in the exponent. | |
A floating-point value decomposed into components for printing.
Definition at line 146 of file float_to_string_helpers.hh.
| uint32_t anonymous_namespace{float_to_string_helpers.hh}::FloatParts::decimal |
The decimal component (after the decimal point).
Definition at line 151 of file float_to_string_helpers.hh.
| int8_t anonymous_namespace{float_to_string_helpers.hh}::FloatParts::decimalPlaces |
The number of decimal places in the exponent.
The exponent is represented as a value that can be converted to a string with integer-to-string conversion. This may have leading zeroes. For example, the number 123.045 will have an integral value of 123, a decimal value of 45, an exponent of 1, and a decimalPlaces of
Definition at line 162 of file float_to_string_helpers.hh.
| int16_t anonymous_namespace{float_to_string_helpers.hh}::FloatParts::exponent |
The exponent (the power of ten that this is raised to).
Definition at line 153 of file float_to_string_helpers.hh.
| uint32_t anonymous_namespace{float_to_string_helpers.hh}::FloatParts::integral |
The integral component (before the decimal point).
Definition at line 149 of file float_to_string_helpers.hh.