From 00d5356b96d29775653bc6816fafff9cc94ef3ec Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 28 Sep 2019 00:01:21 -0700 Subject: Remove the unnecessary FRACTIONONE from bsincgen --- native-tools/bsincgen.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'native-tools') diff --git a/native-tools/bsincgen.c b/native-tools/bsincgen.c index 802403fd..b99d482f 100644 --- a/native-tools/bsincgen.c +++ b/native-tools/bsincgen.c @@ -43,26 +43,22 @@ #ifndef M_PI -#define M_PI (3.14159265358979323846) +#define M_PI 3.14159265358979323846 #endif #if !(defined(_ISOC99_SOURCE) || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L)) #define log2(x) (log(x) / log(2.0)) #endif -/* Same as in alu.h! */ -#define FRACTIONBITS (12) -#define FRACTIONONE (1<