commit | bfc40dcf909f1998d7760c2bc0e1409979d3c8cb | [log] [tgz] |
---|---|---|
author | Thiago Macieira <thiago.macieira@intel.com> | Wed Jul 18 03:19:14 2018 |
committer | Thiago Macieira <thiago.macieira@intel.com> | Tue Aug 14 04:03:31 2018 |
tree | e09b3490c6e2afe7da448d32e0431848f112784d | |
parent | 88943666c4e45200acc1edeb59e895dde66dddad [diff] |
Move the floating point code to cborinternal_p.h ... and put it behind #ifndef CBOR_NO_FLOATING_POINT. The functions were not really compiler support, but are internal functionality of TinyCBOR. This commit also puts both the <math.H> and <float.h> headers behind an #if, so constrained systems without floating point support won't enable it. Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>