From c5e4d02a9a9498b8899a2b43ad6a759d1823da41 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 20 Mar 2026 22:32:08 +0800 Subject: [PATCH] put note about division routine possibly being sus --- libs/bio-lib/src/c/include/fp_q12.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/bio-lib/src/c/include/fp_q12.h b/libs/bio-lib/src/c/include/fp_q12.h index 212ecf4d6..631fa64f9 100644 --- a/libs/bio-lib/src/c/include/fp_q12.h +++ b/libs/bio-lib/src/c/include/fp_q12.h @@ -4,6 +4,8 @@ * Format: configurable Q format via FP_FRAC_BITS * Default: Q20.12 (20 integer bits, 12 fractional bits) * + * TODO: division routine is sus. Need to test & revisit. + * * Representation: signed 32-bit integer * Range (Q20.12): -524288.0 to +524287.9998 * Resolution: 1/4096 ~= 0.000244