From 9b6f2fbcd321a48d31d89942c64c9f6ff9c4e9c3 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 10 Apr 2023 23:06:17 -0700 Subject: [PATCH] assign fmod/fremainder to ZftransExt -- seems good enough to me --- openpower/transcendentals.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openpower/transcendentals.mdwn b/openpower/transcendentals.mdwn index 388865355..86edb7f30 100644 --- a/openpower/transcendentals.mdwn +++ b/openpower/transcendentals.mdwn @@ -250,8 +250,8 @@ Note (6) 4xf32-only, requires VMX. | fmaxmagnum19 | IEEE 754-2019 maximumMagnitudeNumber | FRT = minmaxmag(FRA, FRB, True, fmaxnum19) (2) | Zfminmax | | fminmagc | C ternary-op minimum magnitude | FRT = minmaxmag(FRA, FRB, False, fminc) (2) | Zfminmax | | fmaxmagc | C ternary-op maximum magnitude | FRT = minmaxmag(FRA, FRB, True, fmaxc) (2) | Zfminmax | -| fmod | modulus | FRT = fmod(FRA, FRB) | TBD | -| fremainder | IEEE 754 remainder | FRT = remainder(FRA, FRB) | TBD | +| fmod | modulus | FRT = fmod(FRA, FRB) | ZftransExt | +| fremainder | IEEE 754 remainder | FRT = remainder(FRA, FRB) | ZftransExt | Note (1): for the purposes of minNum/maxNum, -0.0 is defined to be less than +0.0. This is left unspecified in IEEE 754-2008. @@ -397,7 +397,7 @@ They are therefore considered "base" (essential) transcendentals. ### ZftransExt -LOG, EXP, EXP10, LOG10, LOGP1, EXP1M +LOG, EXP, EXP10, LOG10, LOGP1, EXP1M, fmod, fremainder These are extra transcendental functions that are useful, not generally needed for 3D, however for Numerical Computation they may be useful. -- 2.30.2