aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pseudocode/operators/tables/ERF.tosac2
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);
}