remove extra includes

This commit is contained in:
bumbread 2022-08-06 13:48:42 +11:00
parent b62d074764
commit 4dd8816167
6 changed files with 1 additions and 19 deletions

View File

@ -4,6 +4,7 @@
#include <ctype.h>
#include <errno.h>
#include <fenv.h>
#include <float.h>
#include <inttypes.h>
#include <limits.h>
#include <locale.h>

View File

@ -1,7 +1,4 @@
#include <math.h>
#include <stdint.h>
double fabs(double x) {
union {double f; uint64_t i;} u = {x};
u.i &= -1ULL/2;

View File

@ -1,7 +1,4 @@
#include <math.h>
#include <stdint.h>
double remquo(double x, double y, int *quo) {
union {double f; uint64_t i;} ux = {x}, uy = {y};
int ex = ux.i>>52 & 0x7ff;

View File

@ -1,10 +1,4 @@
#include <math.h>
#include <fenv.h>
#include <errno.h>
#include <stdint.h>
#include <stddef.h>
static double LN2 = 0.693147180559945309417232121458176;
static double HALF_PI = 1.570796326794896619231321691639751;
static double PI = 3.141592653589793238462643383279502;

View File

@ -1,5 +1,4 @@
static ftype suffix(cordic)(
ftype x0, // x initial value
ftype y0, // y initial value

View File

@ -1,10 +1,4 @@
#include <math.h>
#include <stdint.h>
#include <fenv.h>
#include <float.h>
#include <limits.h>
#define asuint64(x) ((union {double f; uint64_t i;}){x}).i
#define asdouble(x) ((union {double f; uint64_t i;}){x}).f