aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/library/generic_helpers.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/library/generic_helpers.tosac')
-rw-r--r--pseudocode/library/generic_helpers.tosac9
1 files changed, 0 insertions, 9 deletions
diff --git a/pseudocode/library/generic_helpers.tosac b/pseudocode/library/generic_helpers.tosac
index eabc9b2..6dc2755 100644
--- a/pseudocode/library/generic_helpers.tosac
+++ b/pseudocode/library/generic_helpers.tosac
@@ -13,15 +13,6 @@ bool_t is_floating_point<type>() {
return false;
}
-bool_t is_saturating_float_type<type>() {
- // Saturate for the fp8 formats, all other floats do not saturate
- if (type == fp8e4m3_t || type == fp8e5m2_t) {
- return true;
- }
- return false;
-}
-
-
int32_t idiv(int32_t input1, int32_t input2) {
return input1 / input2; // Integer divide that truncates towards zero
}