commit | 53169743d2b351949e9c92dc4948ac8f4f4f6c80 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <npitre@baylibre.com> | Wed Jun 19 20:57:15 2019 -0400 |
committer | Anas Nashif <anas.nashif@intel.com> | Sun Jul 14 23:07:44 2019 -0400 |
tree | 6782cab56fbbb0adf111b49a07c9d77588e1a6c5 | |
parent | 90ec5360beb237c47b31149c8f7652997f7782e2 [diff] |
prf.c: properly format INF/NAN/zero with prefix The space or plus prefix must appear when requested even with INF and NAN. And no zero-padding in that case. Also, 0.0 and -0.0 are distinct values. It is necessary to display the minus sign with a negative zero. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>