add astro functions

This commit is contained in:
Edward Emelianov
2026-09-06 00:14:37 +03:00
parent b3e5054a31
commit 290a8757f6
6 changed files with 281 additions and 52 deletions

View File

@@ -37,7 +37,7 @@ static int32_t float_to_q31(float x){
}
// Convert Q1.31 to float
static float q31_to_float(int32_t q){
TRUE_INLINE float q31_to_float(int32_t q){
return (float)q / Q31_BASE;
}