You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/12/27 20:43:39 UTC

[GitHub] ccollins476ad commented on issue #1582: use float instead of double

ccollins476ad commented on issue #1582: use float instead of double
URL: https://github.com/apache/mynewt-core/pull/1582#issuecomment-450227683
 
 
   Does this actually allow for any optimizations?  As @andrzej-kaczmarek said, floats are always promoted to doubles anyway, so I am skeptical that this actually does anything (but then what do I know?  I am not a compiler...).
   
   If this is a useful change, then it should be conditional on a syscfg setting.  `%f` is defined as the double format specifier in the C spec, so that should be the default behavior.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services