You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On AVR, and most likely some other 8-bit platforms, double is only 32bit.
This breaks %e and %g (but not %f).
Ideally, it would be nice to provide some kind of %e %g functionality when double is 32bit, perhaps with reduced precision.
At a minimum, a build error should occur if %e and or %g is enabled on these platforms.
The text was updated successfully, but these errors were encountered:
…(single-precision) rather than 64 bits (double precision).
* `double` type size is now checked indirectly via the number of mantissa digits.
* Now ensuring floating-point types are binary (as, technically, they could theoretically not be).
* Replaced some 64-bit-double-specific magic numbers with preprocessor-defined constants, depending on whether `double` is a 32 or 64-bit type.
* Now defining an unsigned integer type to correspond exactly to `double`.
* Some comment tweaks.
…(single-precision) rather than 64 bits (double precision).
* `double` type size is now checked indirectly via the number of mantissa digits.
* Now ensuring floating-point types are binary (as, technically, they could theoretically not be).
* Replaced some 64-bit-double-specific magic numbers with preprocessor-defined constants, depending on whether `double` is a 32 or 64-bit type.
* Now defining an unsigned integer type to correspond exactly to `double`.
* Some comment tweaks.
On AVR, and most likely some other 8-bit platforms, double is only 32bit.
This breaks %e and %g (but not %f).
Ideally, it would be nice to provide some kind of %e %g functionality when double is 32bit, perhaps with reduced precision.
At a minimum, a build error should occur if %e and or %g is enabled on these platforms.
The text was updated successfully, but these errors were encountered: