aboutsummaryrefslogtreecommitdiff
path: root/chapters/appendix_a.adoc
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2024-04-12 15:25:24 -0700
committerEric Kunze <eric.kunze@arm.com>2024-04-19 16:59:04 +0000
commitaaa31b306daac18036c97401300c07d68b35b311 (patch)
tree189285727a766734f81e0e191674a7040b6beca3 /chapters/appendix_a.adoc
parentd44dd79b926470b2588f56f514527d7ad45f4632 (diff)
downloadspecification-aaa31b306daac18036c97401300c07d68b35b311.tar.gz
Status update and text cleanup
Update the status section of the specification as well as various textual simplifications/clarifications. Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: Ie77039e537bc66e6d05b14c7e0705b1c1cc4be58
Diffstat (limited to 'chapters/appendix_a.adoc')
-rw-r--r--chapters/appendix_a.adoc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chapters/appendix_a.adoc b/chapters/appendix_a.adoc
index 6d85204..0f21b6b 100644
--- a/chapters/appendix_a.adoc
+++ b/chapters/appendix_a.adoc
@@ -9,8 +9,6 @@
== Appendix A
-NOTE: This appendix is at an early stage of development at this point in time
-
=== Random data generation
The following function generates a pseudo-random floating-point value in the range -1.0 to +1.0 for use as test data.
@@ -102,8 +100,8 @@ If the implementation changes the order of the sum, then the test data must also
[cols="1,9"]
|===
| p | tosa_mi_data(S, KS, p, k, i) =
-| 0 | (k==0) ? 16.0 : exp(2*set_data(2*S+0, 2*i+0)) * set_data(2*S+0, 2*i+1)
-| 1 | (k==0) ? 16.0 : exp(2*set_data(2*S+1, 2*i+0)) * set_data(2*S+1, 2*i+1)
+| 0 | (k==0) ? ((set_data(2*S+0, 2*i+0) < 0) ? -16.0 : 16.0) : exp(2*set_data(2*S+0, 2*i+0)) * set_data(2*S+0, 2*i+1)
+| 1 | (k==0) ? ((set_data(2*S+1, 2*i+0) < 0) ? -16.0 : 16.0) : exp(2*set_data(2*S+1, 2*i+0)) * set_data(2*S+1, 2*i+1)
| 2 | 0.0
|===