Skip to content
Snippets Groups Projects
Commit 5d3b438b authored by fxk8y's avatar fxk8y :spider:
Browse files

Documenting floating point types

parent 954c2cbe
No related branches found
No related tags found
No related merge requests found
......@@ -88,4 +88,14 @@ In the following list, `argument` stands for the message content received on the
### Types
#### TODO
Currently supported are all types from `Espressif` except `NVS_TYPE_BLOB`.
Additional supported types:
- `f32` aka `float`: Stored as `u32` via `reinterpret_cast<>()`
- `f64` aka `float`: Stored as `u64` via `reinterpret_cast<>()`
Our custom support for floating point types just works™. Errors which occur on retrieving values are signaled via return of `NaN`, specifically in the form of `std::nanf("1337")` which returns the leet NaN value 😏.
#### TODO: MOAR TYPES!!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment