diff options
author | okovko <okovko@gmail.com> | 2018-07-15 12:59:04 -0700 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-07-15 21:06:50 +0100 |
commit | c2e4bbfafd0afd0650295e374e390e4d27ded737 (patch) | |
tree | 363ef4d15113127e278979f260038a27a4a7689f | |
parent | afdf59125a908642a37d59cc3ec57414464c1358 (diff) | |
download | faqe-c2e4bbfafd0afd0650295e374e390e4d27ded737.tar.gz faqe-c2e4bbfafd0afd0650295e374e390e4d27ded737.tar.xz faqe-c2e4bbfafd0afd0650295e374e390e4d27ded737.zip |
ieee754f: always return quiet NaN
[tk@the-tk.com: changed commit message]
-rw-r--r-- | ieee754.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -22,8 +22,6 @@ float ieee754f(unsigned long b) if (exp == 0xff) { if (n) { - /* TODO: work out what a negative NaN means */ - assert(!isneg); return NAN; } else { return isneg ? -INFINITY : INFINITY; |