diff options
author | Eric Kunze <eric.kunze@arm.com> | 2024-02-29 11:13:28 -0800 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2024-03-06 22:18:01 -0800 |
commit | e6ee631e7a7bdc9d334f5dd1d0c30d639e40612b (patch) | |
tree | 519adf023c8f5a6341355c182ecbd96782eaf225 | |
parent | 2266c7aac5e6e3a3fb1d363526b9a4cd38b64bd3 (diff) | |
download | specification-e6ee631e7a7bdc9d334f5dd1d0c30d639e40612b.tar.gz |
Fix SIN and COS pseudocode inclusion
Previous version accidentally included the copyright in the rendered
document. Also made the operator organization match other operators.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: Iabca81fb84d032f17b6915a3c5135cb469edd797
-rw-r--r-- | chapters/ewise_unary.adoc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chapters/ewise_unary.adoc b/chapters/ewise_unary.adoc index e2d3779..3dd5bc4 100644 --- a/chapters/ewise_unary.adoc +++ b/chapters/ewise_unary.adoc @@ -73,11 +73,6 @@ Elementwise cosine operation for values given in radians. include::{generated}/operators/COS.adoc[] -[source, c++] ----- -include::{pseudocode}/operators/COS.tosac[] ----- - *Floating-point behavior:* |=== |Input|-infinity|+infinity|-0|+0|NaN @@ -85,6 +80,11 @@ include::{pseudocode}/operators/COS.tosac[] |Output|NaN|NaN|+1|+1|NaN |=== +[source, c++] +---- +include::{pseudocode}/operators/COS.tosac[lines=10..-1] +---- + ==== EXP Elementwise e to the x operation @@ -208,12 +208,7 @@ include::{pseudocode}/operators/RSQRT.tosac[lines=10..-1] Elementwise sine operation for values given in radians. -include::{generated}/operators/COS.adoc[] - -[source, c++] ----- -include::{pseudocode}/operators/COS.tosac[] ----- +include::{generated}/operators/SIN.adoc[] *Floating-point behavior:* |=== @@ -221,3 +216,8 @@ include::{pseudocode}/operators/COS.tosac[] |Output|NaN|NaN|-0|+0|NaN |=== + +[source, c++] +---- +include::{pseudocode}/operators/SIN.tosac[lines=10..-1] +---- |