Closed daniel-j closed 1 year ago
The parsing relies on Nim's parseFloat pretty much. If the def contains a period, and then trim off the suffix if any.
Ran inte the issue of missing constants when parsing https://github.com/boschsensortec/Bosch-BSEC2-Library/blob/a8fe04a870a459223b3bc3f48cfe2200b9fcc234/src/inc/bsec_datatypes.h#L91
The parsing relies on Nim's parseFloat pretty much. If the def contains a period, and then trim off the suffix if any.
Ran inte the issue of missing constants when parsing https://github.com/boschsensortec/Bosch-BSEC2-Library/blob/a8fe04a870a459223b3bc3f48cfe2200b9fcc234/src/inc/bsec_datatypes.h#L91