Searched refs:sqrtf (Results 1 - 25 of 56) sorted by relevance

123

/xsrc/external/mit/glu/dist/src/libnurbs/internals/
H A Dmymath.h40 #define sqrtf gl_fsqrt macro
47 #define sqrtf sqrt macro
58 #if !defined sqrtf
59 # define sqrtf(x) ((float)sqrt(x)) macro
H A Dpatch.cc322 REAL ttq = sqrtf( (float) ss );
323 REAL ssq = sqrtf( (float) tt );
324 REAL ds = sqrtf( 4 * t2 * ttq / ( ss * ttq + st * ssq ) );
325 REAL dt = sqrtf( 4 * t2 * ssq / ( tt * ssq + st * ttq ) );
328 pspec[0].sidestep[0] = (ssv[0] > scutoff) ? sqrtf( 2.0 * t2 / ssv[0] ) : pspec[0].range[2];
329 pspec[0].sidestep[1] = (ssv[1] > scutoff) ? sqrtf( 2.0 * t2 / ssv[1] ) : pspec[0].range[2];
333 pspec[1].sidestep[0] = (ttv[0] > tcutoff) ? sqrtf( 2.0 * t2 / ttv[0] ) : pspec[1].range[2];
334 pspec[1].sidestep[1] = (ttv[1] > tcutoff) ? sqrtf( 2.0 * t2 / ttv[1] ) : pspec[1].range[2];
337 REAL ds = ( sqrtf( x * x + 8.0 * t2 * ss ) - x ) / ss;
340 pspec[0].sidestep[0] = (ssv[0] > scutoff) ? sqrtf( 2.
[all...]
H A Dmapdescv.cc94 max = fac * sqrtf( (float) max );
222 dist[0] = fac * sqrtf( dist[0] );
223 dist[1] = fac * sqrtf( dist[1] );
235 dist[0] = fac * sqrtf( dist[0] );
236 dist[1] = fac * sqrtf( dist[1] );
239 max = fac * sqrtf( (float) max );
H A Dcurve.cc176 stepsize = (d > 0.0) ? sqrtf( 8.0 * t / d ) : range[2];
/xsrc/external/mit/glu/dist/src/libutil/
H A Dgluint.h41 #define SQRT sqrtf
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vb_points.c68 const GLfloat atten = (q != 0.0F) ? (1.0f / sqrtf(q)) : 1.0F;
H A Dt_vb_texgen.c119 m[i] = 0.5F * (1.0f / sqrtf(m[i]));
148 m[i] = 0.5F * (1.0f / sqrtf(m[i]));
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vb_points.c68 const GLfloat atten = (q != 0.0F) ? (1.0f / sqrtf(q)) : 1.0F;
H A Dt_vb_texgen.c119 m[i] = 0.5F * (1.0f / sqrtf(m[i]));
148 m[i] = 0.5F * (1.0f / sqrtf(m[i]));
/xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
H A Dm_norm_tmp.h71 GLfloat scale = 1.0f / sqrtf(len);
138 GLfloat scale = 1.0f / sqrtf(len);
325 len = 1.0f / sqrtf(len);
H A Dm_debug_norm.c169 scale = 1.0f / sqrtf(len);
245 length[i] = 1.0f / sqrtf( LEN_SQUARED_3FV( s[i] ) );
/xsrc/external/mit/MesaLib/dist/src/mesa/math/
H A Dm_norm_tmp.h71 GLfloat scale = 1.0f / sqrtf(len);
138 GLfloat scale = 1.0f / sqrtf(len);
325 len = 1.0f / sqrtf(len);
H A Dm_debug_norm.c168 scale = 1.0f / sqrtf(len);
244 length[i] = 1.0f / sqrtf( LEN_SQUARED_3FV( s[i] ) );
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dmacros.h762 return sqrtf(LEN_SQUARED_3FV(v));
768 return sqrtf(LEN_SQUARED_2FV(v));
778 len = 1.0f / sqrtf(len);
H A Dlight.c1041 ctx->_ModelViewInvScale = 1.0f / sqrtf(f);
1043 ctx->_ModelViewInvScale = sqrtf(f);
1044 ctx->_ModelViewInvScaleEyespace = 1.0f / sqrtf(f);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dmacros.h745 return sqrtf(LEN_SQUARED_3FV(v));
751 return sqrtf(LEN_SQUARED_2FV(v));
761 len = 1.0f / sqrtf(len);
H A Dlight.c1124 ctx->_ModelViewInvScale = 1.0f / sqrtf(f);
1126 ctx->_ModelViewInvScale = sqrtf(f);
1127 ctx->_ModelViewInvScaleEyespace = 1.0f / sqrtf(f);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_stipple.c147 length = sqrtf(dx*dx + dy*dy);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pipe_stipple.c147 length = sqrtf(dx*dx + dy*dy);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_aalinetemp.h121 line.len = sqrtf(line.dx * line.dx + line.dy * line.dy);
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_aalinetemp.h121 line.len = sqrtf(line.dx * line.dx + line.dy * line.dy);
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format_other.c239 return (uint8_t)sqrtf(0x7f * 0x7f - r * r - g * g) * 0xff / 0x7f;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format_other.c297 return (uint8_t)sqrtf(0x7f * 0x7f - r * r - g * g) * 0xff / 0x7f;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c316 std = sqrtf((sum2 - n*avg*avg)/n);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_test_conv.c316 std = sqrtf((sum2 - n*avg*avg)/n);

Completed in 24 milliseconds

123