fixed cos sin

This commit is contained in:
veclavtlica
2026-09-11 15:09:47 +03:00
parent adfae10938
commit 6d7fe7392a
10 changed files with 345 additions and 6 deletions
-1
View File
@@ -9,7 +9,6 @@
/* Alternitive semntic: nearest upper power of two */
static inline int com_bits_needed(uint32_t v) {
#ifdef COM_DEF_COMPILE_MODERN
/* Use intrinsic, required for fast sqrt impl */
return v == 0 ? 1 : 32 - __builtin_clz(v);
#else
#endif