Lines Matching refs:x
34 GLfloat fixedToFloat(GLfixed x) in fixedToFloat() argument
37 return x / 65536.0f; in fixedToFloat()
39 if (!x) return 0; in fixedToFloat()
40 const uint32_t s = x & 0x80000000; in fixedToFloat()
45 i = s ? -x : x; in fixedToFloat()
56 float sinef(float x) in sinef() argument
63 x *= A; in sinef()
65 if (fabsf(x) >= 0.5f) { in sinef()
67 x = x - ceilf(x + 0.5f) + 1.0f; in sinef()
70 const float y = B*x*fabsf(x) + C*x; in sinef()
74 float cosinef(float x) in cosinef() argument
76 return sinef(x + float(M_PI/2)); in cosinef()