softfloat: Add minNum() and maxNum() functions to softfloat.
commite17ab310e98c55bd5cb8026c1086f9d19d181d3d
authorWill Newton <will.newton@linaro.org>
Fri, 6 Dec 2013 17:01:41 +0000 (6 17:01 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 10 Dec 2013 13:28:50 +0000 (10 13:28 +0000)
tree9f50af95e43d0520e2f8f865f7870ef2c76b647c
parente70614eaa0b8c6a2c948efa3ad71e75cd1f8ff8a
softfloat: Add minNum() and maxNum() functions to softfloat.

Add floatnn_minnum() and floatnn_maxnum() functions which are equivalent
to the minNum() and maxNum() functions from IEEE 754-2008. They are
similar to min() and max() but differ in the handling of QNaN arguments.

Signed-off-by: Will Newton <will.newton@linaro.org>
Message-id: 1386158099-9239-5-git-send-email-will.newton@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
fpu/softfloat.c
include/fpu/softfloat.h