mirror of https://github.com/flysand7/ciabatta.git
				
				
				
			remove extra includes
This commit is contained in:
		
							parent
							
								
									b62d074764
								
							
						
					
					
						commit
						4dd8816167
					
				| 
						 | 
					@ -4,6 +4,7 @@
 | 
				
			||||||
#include <ctype.h>
 | 
					#include <ctype.h>
 | 
				
			||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
#include <fenv.h>
 | 
					#include <fenv.h>
 | 
				
			||||||
 | 
					#include <float.h>
 | 
				
			||||||
#include <inttypes.h>
 | 
					#include <inttypes.h>
 | 
				
			||||||
#include <limits.h>
 | 
					#include <limits.h>
 | 
				
			||||||
#include <locale.h>
 | 
					#include <locale.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,4 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <math.h>
 | 
					 | 
				
			||||||
#include <stdint.h>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
double fabs(double x) {
 | 
					double fabs(double x) {
 | 
				
			||||||
    union {double f; uint64_t i;} u = {x};
 | 
					    union {double f; uint64_t i;} u = {x};
 | 
				
			||||||
    u.i &= -1ULL/2;
 | 
					    u.i &= -1ULL/2;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,4 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <math.h>
 | 
					 | 
				
			||||||
#include <stdint.h>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
double remquo(double x, double y, int *quo) {
 | 
					double remquo(double x, double y, int *quo) {
 | 
				
			||||||
    union {double f; uint64_t i;} ux = {x}, uy = {y};
 | 
					    union {double f; uint64_t i;} ux = {x}, uy = {y};
 | 
				
			||||||
    int ex = ux.i>>52 & 0x7ff;
 | 
					    int ex = ux.i>>52 & 0x7ff;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 LN2       = 0.693147180559945309417232121458176;
 | 
				
			||||||
static double HALF_PI   = 1.570796326794896619231321691639751;
 | 
					static double HALF_PI   = 1.570796326794896619231321691639751;
 | 
				
			||||||
static double PI        = 3.141592653589793238462643383279502;
 | 
					static double PI        = 3.141592653589793238462643383279502;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,4 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
static ftype suffix(cordic)(
 | 
					static ftype suffix(cordic)(
 | 
				
			||||||
    ftype x0,  // x initial value
 | 
					    ftype x0,  // x initial value
 | 
				
			||||||
    ftype y0,  // y initial value
 | 
					    ftype y0,  // y initial value
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 asuint64(x) ((union {double f; uint64_t i;}){x}).i
 | 
				
			||||||
#define asdouble(x) ((union {double f; uint64_t i;}){x}).f
 | 
					#define asdouble(x) ((union {double f; uint64_t i;}){x}).f
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue