softfloat: logB(0) should raise divideByZero exception
commit3cf71969095a99f840cd4b3f4aae696ce44b8078
authorSong Gao <gaosong@loongson.cn>
Fri, 30 Sep 2022 02:45:10 +0000 (30 10:45 +0800)
committerSong Gao <gaosong@loongson.cn>
Mon, 17 Oct 2022 02:28:35 +0000 (17 10:28 +0800)
tree4e7c32f19d11e2168c1e922a8bf40acc3955b9ff
parent153620126add5c4868308cc5831d400c7e7029ad
softfloat: logB(0) should raise divideByZero exception

logB(0) should raise divideByZero exception from IEEE 754-2008 spec 7.3

Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220930024510.800005-4-gaosong@loongson.cn>
fpu/softfloat-parts.c.inc