From: lkcl Date: Thu, 7 Jul 2022 22:09:43 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1276 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8e492dda7870f144bcfdfee6993db7f32c92382f;p=libreriscv.git --- diff --git a/openpower/transcendentals.mdwn b/openpower/transcendentals.mdwn index 26f2e2dee..f307c3d2c 100644 --- a/openpower/transcendentals.mdwn +++ b/openpower/transcendentals.mdwn @@ -187,9 +187,9 @@ software emulation | FATAN2 | atan2 arc tangent | FRT = atan2(FRB, FRA) | Zarctrignpi | | FATAN2PI | atan2 arc tangent / pi | FRT = atan2(FRB, FRA) / pi | Zarctrigpi | | FPOW | x power of y | FRT = pow(FRA, FRB) | ZftransAdv | -| FPOWN | x power of n (n int) | FRT = pow(FRA, FRB) | ZftransAdv | +| FPOWN | x power of n (n int) | FRT = pow(FRA, RB) | ZftransAdv | | FPOWR | x power of y (x +ve) | FRT = exp(FRA log(FRB)) | ZftransAdv | -| FROOTN | x power 1/n (n integer)| FRT = pow(FRA, 1/FRB) | ZftransAdv | +| FROOTN | x power 1/n (n integer)| FRT = pow(FRA, 1/RB) | ZftransAdv | | FHYPOT | hypotenuse | FRT = sqrt(FRA^2 + FRB^2) | ZftransAdv | ## List of 1-arg transcendental opcodes