From ac0eb020d225cf8aaaad36a1351cf67bd678a9a7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 3 Jun 2021 10:32:06 +0100 Subject: [PATCH] use phrase "non-negative" rather than +ve --- openpower/sv/int_fp_mv.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index 7ed341e35..8c62fc954 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -5,7 +5,7 @@ Introduction: High-performance CPU/GPU software needs to often convert between integers and floating-point, therefore fast conversion/data-movement instructions are needed. Also given that initialisation of floats tends to take up -considerable space (even to just load 0.0) the inclusion of float immediate +considerable space Geven to just load 0.0) the inclusion of float immediate is up for consideration. Libre-SOC will be compliant with the @@ -272,7 +272,7 @@ def fp_to_int_java_script(v: fp) -> int: if v is NaN or infinite: return 0 v = rint(v, rounding_mode) - v = v mod int::VALUE_COUNT # 2^32 for i32, 2^64 for i64, result is +ve + v = v mod int::VALUE_COUNT # 2^32 for i32, 2^64 for i64, result is non-negative bits = (uint)v return (int)bits ``` -- 2.30.2