diff options
author | Leon Alrae <leon.alrae@imgtec.com> | 2014-06-27 08:49:06 +0100 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2014-10-14 13:28:51 +0100 |
commit | 2d31e0607d0038b0c3450bb9624b0639e1181b1a (patch) | |
tree | 8afa12be6ccc25159346b4d9882c434af0b99172 /rules.mak | |
parent | d4ea6acdf60db1d8373543e1557ba908f5d5479b (diff) |
softfloat: add functions corresponding to IEEE-2008 min/maxNumMag
Add abs argument to the existing softfloat minmax() function and define
new float{32,64}_{min,max}nummag functions.
minnummag(x,y) returns x if |x| < |y|,
returns y if |y| < |x|,
otherwise minnum(x,y)
maxnummag(x,y) returns x if |x| > |y|,
returns y if |y| > |x|,
otherwise maxnum(x,y)
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'rules.mak')
0 files changed, 0 insertions, 0 deletions