summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbatsumaru <>2026-08-09 17:26:31 +0900
committerbatsumaru <>2026-08-09 17:26:31 +0900
commit653ebf6675f42dde3cbda1fc088f84a7264ec013 (patch)
tree945dd971842b07ac9982c5a6f94356253c67c2b6 /include
parent7bb49794297b46aa1c577e89da24d39b4348c6d4 (diff)
Added fp_t division
Diffstat (limited to 'include')
-rw-r--r--include/fixed_point.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fixed_point.h b/include/fixed_point.h
index ff8e2b3..9df6376 100644
--- a/include/fixed_point.h
+++ b/include/fixed_point.h
@@ -15,6 +15,7 @@ struct fp_t {
fp_t operator+(const fp_t& other) const;
fp_t operator-(const fp_t& other) const;
fp_t operator*(const fp_t& other) const;
+ fp_t operator/(const fp_t& other) const;
bool operator==(const fp_t& other) const;
};