softfloat: define floatx80_round()
commit0f72129281765ed64d26353284059f2bdcde7a23
authorLaurent Vivier <laurent@vivier.eu>
Wed, 28 Jun 2017 20:42:38 +0000 (28 22:42 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 29 Jun 2017 18:27:39 +0000 (29 20:27 +0200)
tree4092bf1b51512a9d25067587b97630314f034fd0
parenta51b6bc38bb9b73a40e9486b52be12c810c6f2d9
softfloat: define floatx80_round()

Add a function to round a floatx80 to the defined precision
(floatx80_rounding_precision)

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <20170628204241.32106-5-laurent@vivier.eu>
fpu/softfloat.c
include/fpu/softfloat.h