Searched refs:half (Results 1 - 25 of 285) sorted by relevance

1234567891011>>

/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A Dquad-offset-factor.c64 static void quad( float half ) argument
67 glVertex3f( half/9.0, -half/9.0, -25.0 + half);
68 glVertex3f( half/9.0, half/9.0, -25.0 + half);
69 glVertex3f(-half/9.0, half/9.0, -25.0 - half);
[all...]
H A Dquad-offset-units.c64 static void quad( float half ) argument
67 glVertex3f( half/9.0, -half/9.0, -25.0 + half);
68 glVertex3f( half/9.0, half/9.0, -25.0 + half);
69 glVertex3f(-half/9.0, half/9.0, -25.0 - half);
[all...]
/xsrc/external/mit/mesa-demos/dist/src/perf/
H A Dcopytex.c142 GLsizei half = TexSize / 2; local in function:CopyTexSubImage
145 0, 0, 0, 0, half, half);
148 half, 0, half, 0, half, half);
151 0, half, 0, half, half, hal
[all...]
/src/lib/libm/src/
H A De_coshf.c25 static const float one = 1.0, half=0.5; variable in typeref:typename:const float
50 return half*t+half/t;
53 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */
54 if (ix < 0x42b17180) return half*__ieee754_expf(fabsf(x));
58 w = __ieee754_expf(half*fabsf(x));
59 t = half*w;
H A De_cosh.c42 static const double one = 1.0, half=0.5, huge = 1.0e300; variable in typeref:typename:const double
69 return half*t+half/t;
72 /* |x| in [22, log(maxdouble)] return half*exp(|x|) */
73 if (ix < 0x40862E42) return half*__ieee754_exp(fabs(x));
79 w = __ieee754_exp(half*fabs(x));
80 t = half*w;
H A Dk_sin.c50 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable in typeref:typename:const double
71 else return x-((z*(half*y-v*r)-y)-v*S1);
H A Dk_sinf.c25 half = 5.0000000000e-01,/* 0x3f000000 */ variable in typeref:typename:const float
46 else return x-((z*(half*y-v*r)-y)-v*S1);
/src/share/doc/psd/20.ipctut/
H A Dustreamwrite.c37 #define DATA "Half a league, half a league . . ."
H A Dstreamwrite.c38 #define DATA "Half a league, half a league . . ."
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_print_constant.c34 midgard_reg_mode reg_mode, bool half,
63 if (half)
88 if (half && mod == midgard_int_zero_extend)
90 else if (half && mod == midgard_int_left_shift)
99 if (half && mod == midgard_int_left_shift)
119 if (half && mod == midgard_int_zero_extend)
121 else if (half && mod == midgard_int_left_shift)
130 if (half && mod == midgard_int_left_shift)
152 assert(!half); /* No 4-bit */
33 mir_print_constant_component(FILE * fp,const midgard_constants * consts,unsigned c,midgard_reg_mode reg_mode,bool half,unsigned mod,midgard_alu_op op) argument
/src/sys/arch/x68k/stand/aout2hux/
H A Dtype_local.h33 be_uint16_t half[2]; member in union:be_uint32
/src/lib/libm/ld80/
H A Dk_sinl.c22 half = 0.5; variable in typeref:typename:const double
59 else return x-((z*(half*y-v*r)-y)-v*S1);
/src/lib/libm/noieee_src/
H A Dn_log1p.c127 half=1.0/2.0, small=1.0E-20; /* 1+small == 1 */ local in function:__weak_alias
142 { k += 1 ; z *= half; t *= half; }
147 s = x/(2+x); t = x*x*half;
H A Dn_cosh.c66 * Note: .3465 is a number near one half of ln2.
117 static const double half=1.0/2.0, variable in typeref:typename:const double
130 { t=exp(x); return((t+one/t)*half); }
140 return(exp(x)*half); /* for large x, cosh(x)=exp(x)/2 */
H A Dn_exp__E.c113 static const double zero=0.0, one=1.0, half=1.0/2.0, small=1.0E-19; variable in typeref:typename:const double
124 xh= x*half ;
128 return(z*half+c);
H A Dn_sinh.c111 static const double one=1.0, half=1.0/2.0 ; local in function:sinh
119 {t=expm1(x); return(copysign((t+t/(one+t))*half,sign));}
H A Dn_expm1.c123 static const double one=1.0, half=1.0/2.0; local in function:expm1
143 {x=z+half;x +=__exp__E(z,c); return(x+x);}
145 {z+=__exp__E(z,c); x=half+z; return(x+x);}
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_nir_lower_load_barycentric_at_sample.c59 nir_ssa_def *half = nir_imm_float(b, 0.5); local in function:lower_load_sample_pos
60 return nir_fadd(b, pos, nir_vec2(b, half, half));
/xsrc/external/mit/x11perf/dist/
H A Ddo_lines.c33 int half; /* Half of width if wide line */ local in function:GenerateLines
51 half = (size + 19) / 20;
65 x = half;
66 y = half;
108 if (y < half || y >= (HEIGHT-half) || rows > MAXROWS) {
111 if (x + size < WIDTH - half) {
117 if (x - size > half) {
132 if (y < half) {
135 } else if (y > (HEIGHT - half)) {
[all...]
H A Ddo_arcs.c38 int half; local in function:GenerateCircles
47 half = (size + 19) / 20;
49 x = xorg = half; y = yorg = half;
71 if (y >= HEIGHT - size - half || rows == MAXROWS) {
77 if (yorg >= size + half || yorg >= HEIGHT - size - half) {
78 yorg = half;
80 if (xorg >= size + half || xorg >= WIDTH - size - half) {
239 int half; local in function:GenerateEllipses
[all...]
/src/tests/lib/libc/gen/
H A Dt_closefrom.c84 int buf[16], cur, half; local in function:ATF_TC_BODY
88 * Open a buffer of descriptors, close the half of
104 half = STDERR_FILENO + __arraycount(buf) / 2;
105 ATF_REQUIRE(closefrom(half) == 0);
108 ATF_REQUIRE(cur == half - 1);
/src/common/lib/libc/arch/mips/string/
H A Dffs.S93 and v1, a0, a3 # focus no lower half of bits left
94 bnez v1, 2f # any of the lower half set?
96 addu v0, a2 # nope, then bit is in the upper half
105 srlv a3, a3, a2 # shrink mask in half
/xsrc/external/mit/MesaLib/dist/src/freedreno/computerator/examples/
H A Dtest-opcodes.sh3 # Test various instructions to check whether half<->full widening/narrowing
12 # edge cases, while still not loosing precision in a full->half->full
110 echo '; control, half->half:'
112 echo '; test, full->half:'
117 echo '; test, half->full:'
144 stib.untyped.1d.u32.1 r2.y, r3.y, 0 ; test: half->full
145 stib.untyped.1d.u32.1 r2.z, r3.z, 0 ; control: half->half
146 stib.untyped.1d.u32.1 r2.w, r3.w, 0 ; test: full->half
[all...]
/src/lib/libm/ld128/
H A Dk_sinl.c22 half = 0.5; variable in typeref:typename:const double
56 else return x-((z*(half*y-v*r)-y)-v*S1);
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dtexcompsub.c38 const int half = ImgSize / 2; local in function:LoadCompressedImage
43 /* bottom half */
51 memcpy(&ImgDataTemp[i * ImgWidth], &ImgData[half + i * 2 * ImgWidth], ImgWidth);
60 memcpy(&ImgDataTemp[i * ImgWidth], &ImgData[half + i * 2 * ImgWidth + ImgWidth], ImgWidth);

Completed in 58 milliseconds

1234567891011>>