Lines Matching refs:v
59 inline GLfloat addExpf(GLfloat v, int e) CONST;
60 inline GLfloat mul2f(GLfloat v) CONST;
61 inline GLfloat div2f(GLfloat v) CONST;
62 inline GLfloat absf(GLfloat v) CONST;
114 bool isZerof(GLfloat v) { in isZerof() argument
116 return v == 0; in isZerof()
122 f = v; in isZerof()
127 bool isOnef(GLfloat v) { in isOnef() argument
128 return cmpf(v, 1.0f); in isOnef()
131 int isZeroOrNegativef(GLfloat v) { in isZeroOrNegativef() argument
133 return v <= 0; in isZeroOrNegativef()
139 f = v; in isZeroOrNegativef()
140 return isZerof(v) | (i>>31); in isZeroOrNegativef()
144 int exponent(GLfloat v) { in exponent() argument
149 f = v; in exponent()
153 int32_t mantissa(GLfloat v) { in mantissa() argument
158 f = v; in mantissa()
166 GLfloat clampToZerof(GLfloat v) { in clampToZerof() argument
168 return v<0 ? 0 : (v>1 ? 1 : v); in clampToZerof()
174 f = v; in clampToZerof()
180 GLfloat reciprocalf(GLfloat v) { in reciprocalf() argument
182 return 1.0f / v; in reciprocalf()
185 GLfloat rsqrtf(GLfloat v) { in rsqrtf() argument
187 return 1.0f / sqrtf(v); in rsqrtf()
190 GLfloat sqrf(GLfloat v) { in sqrf() argument
192 return v*v; in sqrf()
195 GLfloat addExpf(GLfloat v, int e) { in addExpf() argument
200 f = v; in addExpf()
207 GLfloat mul2f(GLfloat v) { in mul2f() argument
209 return v*2; in mul2f()
211 return addExpf(v, 1); in mul2f()
215 GLfloat div2f(GLfloat v) { in div2f() argument
217 return v*0.5f; in div2f()
219 return addExpf(v, -1); in div2f()
223 GLfloat absf(GLfloat v) { in absf() argument
225 return v<0 ? -v : v; in absf()
231 f = v; in absf()