Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libc: minimal: Fix handling of %f conversion specifiers for inf & nan
The C standard says that %f should use '[-]inf' or '[-]infinity' (which style is implementation defined) for infinity handling and '[-]nan' for NaN. We where adding a '+' and had the wrong case for 'inf' and 'nan'. Before -> After +INF -> inf -INF -> -inf NaN -> nan Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
- Loading branch information
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters