From: Jacob Lifshay Date: Tue, 11 Apr 2023 06:06:17 +0000 (-0700) Subject: assign fmod/fremainder to ZftransExt -- seems good enough to me X-Git-Tag: opf_rfc_ls012_v1~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b6f2fbcd321a48d31d89942c64c9f6ff9c4e9c3;p=libreriscv.git assign fmod/fremainder to ZftransExt -- seems good enough to me --- 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.