diff options
author | Kevin Petit <kevin.petit@arm.com> | 2024-01-24 17:22:47 +0000 |
---|---|---|
committer | Kevin Petit <kevin.petit@arm.com> | 2024-01-24 17:40:47 +0000 |
commit | 0808d63e4db076fbbd02e806272ae4ccae6ed72c (patch) | |
tree | 8999350cc37b9bd6faa83594fab303098b943f50 | |
parent | 56711143a4d11e81c10aa9f45a720edddebe09a8 (diff) | |
download | specification-0808d63e4db076fbbd02e806272ae4ccae6ed72c.tar.gz |
pseudocode: replace all uses of FP64 and double types with fp64_t
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: Ieb895e834d1f3b512a666b062b963b08f82c8a24
-rw-r--r-- | pseudocode/operators/tables/ERF.tosac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/tables/ERF.tosac b/pseudocode/operators/tables/ERF.tosac index bf94349..be762de 100644 --- a/pseudocode/operators/tables/ERF.tosac +++ b/pseudocode/operators/tables/ERF.tosac @@ -8,7 +8,7 @@ // by a licensing agreement from ARM Limited. int16_t erf_reference(int16_t x) { // input x range is -256 to + 256 inclusive - F64 v = static_cast<double>(x) / static_cast<double>(64); + fp64_t v = static_cast<fp64_t>(x) / static_cast<fp64_t>(64); v = erf(v); return round_to_nearest_int(32768.0 * v); } |