comparison drivers/generic_math.h @ 30990:0ad2da052b2e

the great MPlayer tab removal: part I
author diego
date Mon, 12 Apr 2010 10:56:17 +0000
parents 4129c8cfa742
children
comparison
equal deleted inserted replaced
30989:686241d65b86 30990:0ad2da052b2e
231 { 3.078768e+00, 6.278333e-02, -9.980272e-01 }, 231 { 3.078768e+00, 6.278333e-02, -9.980272e-01 },
232 { 3.110184e+00, 3.140349e-02, -9.995068e-01 }, 232 { 3.110184e+00, 3.140349e-02, -9.995068e-01 },
233 { 3.141600e+00, -7.346410e-06, -1.000000e-00 } 233 { 3.141600e+00, -7.346410e-06, -1.000000e-00 }
234 }; 234 };
235 235
236 # define M_PI 3.14159265358979323846 /* pi */ 236 #define M_PI 3.14159265358979323846 /* pi */
237 237
238 static double inline gen_sin(double x) 238 static double inline gen_sin(double x)
239 { 239 {
240 int i; 240 int i;
241 if(x < 0) while(x < -M_PI) x+= M_PI; 241 if(x < 0) while(x < -M_PI) x+= M_PI;