fixed cos sin

This commit is contained in:
veclavtlica committed 2026-09-11 15:09:47 +03:00
1 parent adfae10938
commit 6d7fe7392a
10 files changed
+345 -6

No files matched your search

-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