Skip to content

Commit

Permalink
Remove unused fix_PrecisionFactor function
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 committed Jan 28, 2025
1 parent 79401cc commit c4b456b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion include/asm/fixpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
extern uint8_t fixPrecision;

uint8_t fix_Precision();
double fix_PrecisionFactor();
int32_t fix_Sin(int32_t i, int32_t q);
int32_t fix_Cos(int32_t i, int32_t q);
int32_t fix_Tan(int32_t i, int32_t q);
Expand Down
4 changes: 0 additions & 4 deletions src/asm/fixpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ uint8_t fix_Precision() {
return fixPrecision;
}

double fix_PrecisionFactor() {
return pow(2.0, fixPrecision);
}

static double fix2double(int32_t i, int32_t q) {
return i / pow(2.0, q);
}
Expand Down

0 comments on commit c4b456b

Please sign in to comment.