Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 391) sorted by relevance

12345678910>>...16

/openbsd/lib/libm/src/
H A De_coshf.c20 static const float one = 1.0, half=0.5; variable
45 return half*t+half/t; in coshf()
49 if (ix < 0x42b17180) return half*expf(fabsf(x)); in coshf()
53 w = expf(half*fabsf(x)); in coshf()
54 t = half*w; in coshf()
H A De_cosh.c39 static const double one = 1.0, half=0.5, huge = 1.0e300; variable
66 return half*t+half/t; in cosh()
70 if (ix < 0x40862E42) return half*exp(fabs(x)); in cosh()
76 w = exp(half*fabs(x)); in cosh()
77 t = half*w; in cosh()
H A Dk_sin.c45 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
62 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sin()
H A Dk_sinf.c20 half = 5.0000000000e-01,/* 0x3f000000 */ variable
37 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sinf()
/openbsd/regress/usr.bin/m4/
H A Dquotes.out7 half quoted string
14 `half quoted STRING
21 `half quoted STRING
28 `half quoted STRING
34 half quoted stringgoing up to that STRING'
41 half quoted string
48 `half quoted string
H A Dquotes.m48 `half quoted string
16 `half quoted string
24 `half quoted string
32 `half quoted string
40 `half quoted string
48 `half quoted string
56 `half quoted string
/openbsd/lib/libm/src/ld128/
H A De_coshl.c53 static const long double one = 1.0, half = 0.5, huge = 1.0e4900L, variable
88 return half * t + half / t; in coshl()
93 return half * expl (u.value); in coshl()
98 w = expl (half * u.value); in coshl()
99 t = half * w; in coshl()
/openbsd/lib/libm/src/ld80/
H A De_coshl.c37 static const long double one = 1.0, half=0.5, huge = 1.0e4900L; variable
64 return half*t+half/t; in coshl()
69 return half*expl(fabsl(x)); in coshl()
75 w = expl(half*fabsl(x)); in coshl()
76 t = half*w; in coshl()
H A De_lgammal.c94 half = 0.5L, variable
250 y = cosl (pi * (half - y)); in sin_pi()
368 r += half * y + y * p1/p2; in lgammal()
379 r += (-half * y + p1 / p2); in lgammal()
391 r = half * y + p / q; in lgammal()
417 r = (x - half) * (t - one) + w; in lgammal()
H A Dk_sinl.c22 half = 0.5; variable
59 else return x-((z*(half*y-v*r)-y)-v*S1); in __kernel_sinl()
/openbsd/gnu/llvm/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h28 __attribute__((clang_builtin_alias(__builtin_elementwise_abs))) half abs(half);
71 __attribute__((clang_builtin_alias(__builtin_sqrtf16))) half sqrt(half In);
77 half ceil(half);
107 half floor(half);
136 __attribute__((clang_builtin_alias(__builtin_elementwise_cos))) half cos(half);
165 __attribute__((clang_builtin_alias(__builtin_elementwise_sin))) half sin(half);
195 half trunc(half);
H A Dhlsl_basic_types.h53 typedef vector<half, 2> half2;
54 typedef vector<half, 3> half3;
55 typedef vector<half, 4> half4;
/openbsd/gnu/llvm/clang/lib/Headers/
H A Dopencl-c.h7139 half __ovld __cnfn fma(half, half, half);
7281 half __ovld fract(half, half *);
7805 half __ovld __cnfn mad(half, half, half);
7890 half __ovld modf(half, half *);
8035 half __ovld __cnfn pow(half, half);
8377 half __ovld sincos(half, half *);
10048 half __ovld __cnfn clamp(half, half, half);
10117 half __ovld __cnfn max(half, half);
10204 half __ovld __cnfn mix(half, half, half);
10323 half __ovld __cnfn smoothstep(half, half, half);
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20020402-3.c38 register int bot, top, half; in blockvector_for_pc_sect() local
49 half = (top - bot + 1) >> 1; in blockvector_for_pc_sect()
50 b = bl->block[bot + half]; in blockvector_for_pc_sect()
52 bot += half; in blockvector_for_pc_sect()
54 top = bot + half; in blockvector_for_pc_sect()
H A Dbf-pack-1.c3 unsigned half:16; member
9 if (q->half != 0x1234) in f()
19 bar.half = 0x1234; in main()
/openbsd/lib/libcbor/src/cbor/internal/
H A Dloaders.c54 int half = (halfp[0] << 8) + halfp[1]; in _cbor_decode_half() local
55 int exp = (half >> 10) & 0x1f; in _cbor_decode_half()
56 int mant = half & 0x3ff; in _cbor_decode_half()
64 return (float)(half & 0x8000 ? -val : val); in _cbor_decode_half()
/openbsd/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Ddowngrade.t379 $x = $half -> copy() -> badd($half);
380 subtest '$x = $half -> copy() -> badd($half);' => sub {
386 $x = $half -> copy() -> badd($half -> copy() -> bneg());
387 subtest '$x = $half -> copy() -> badd($half -> copy() -> bneg());' => sub {
437 $x = $half -> copy() -> bsub($half);
438 subtest '$x = $half -> copy() -> bsub($half);' => sub {
444 $x = $half -> copy() -> bsub($half -> copy() -> bneg());
445 subtest '$x = $half -> copy() -> bsub($half -> copy() -> bneg());' => sub {
686 $x = $half -> copy() -> bfloor();
709 $x = $half -> copy() -> bceil();
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Math-BigRat/t/
H A Ddowngrade.t188 $x = $half -> copy() -> badd($nan);
192 $x = $half -> copy() -> badd($inf);
196 $x = $half -> copy() -> badd($half);
200 $x = $half -> copy() -> badd($half -> copy() -> bneg());
222 $x = $half -> copy() -> bsub($nan);
226 $x = $half -> copy() -> bsub($inf);
230 $x = $half -> copy() -> bsub($half);
234 $x = $half -> copy() -> bsub($half -> copy() -> bneg());
366 $x = $half -> copy() -> bfloor();
380 $x = $half -> copy() -> bceil();
[all …]
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dblock.c78 int bot, top, half; in blockvector_for_pc_sect() local
100 half = (top - bot + 1) >> 1; in blockvector_for_pc_sect()
101 b = BLOCKVECTOR_BLOCK (bl, bot + half); in blockvector_for_pc_sect()
103 bot += half; in blockvector_for_pc_sect()
105 top = bot + half; in blockvector_for_pc_sect()
/openbsd/usr.bin/less/
H A Dmore.hlp18 d ^D * Forward one half-window (and set half-window to _N).
19 u ^U * Backward one half-window (and set half-window to _N).
25 Default "half-window" is half of the screen height.
/openbsd/usr.bin/vi/vi/
H A Dvs_split.c41 size_t half; in vs_split() local
57 half = sp->rows / 2; in vs_split()
58 if (ccl && half > 6) in vs_split()
59 half = 6; in vs_split()
89 !ccl && (vs_sm_cursor(sp, &smp) ? 0 : (smp - HMAP) + 1) >= half; in vs_split()
91 new->rows = sp->rows - half; /* New. */ in vs_split()
93 sp->rows = half; /* Old. */ in vs_split()
105 new->rows = half; /* New. */ in vs_split()
106 sp->rows -= half; /* Old. */ in vs_split()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZfh.td10 // half-precision floating-point extension, version 1.0.
371 // half->[u]int. Round-to-zero must be used.
375 // Saturating half->[u]int32.
379 // half->int32 with current rounding mode.
397 // half->[u]int64. Round-to-zero must be used.
401 // Saturating half->[u]int64.
405 // half->int64 with current rounding mode.
438 // half->[u]int. Round-to-zero must be used.
442 // half->int32 with current rounding mode.
454 // half->[u]int64. Round-to-zero must be used.
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dmacro3.c21 #define half(x) ((x) / 2) macro
33 if (apply (half, 200) != 100) in main()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dnest15.C29 Half half[2]; variable
35 page(heap.half[heap.halfspace].inuse.top), in Pointer()
H A Dnest16.C29 Half half[2]; variable
38 Page *x = heap.half[heap.halfspace].inuse.top; in Pointer()

12345678910>>...16