/freebsd/lib/msun/src/ |
H A D | k_sinf.c | 33 double r, s, w, z; in __kernel_sindf() local 36 z = x*x; in __kernel_sindf() 37 w = z*z; in __kernel_sindf() 38 r = S3+z*S4; in __kernel_sindf() 39 s = z*x; in __kernel_sindf() 40 return (x + s*(S1+z*S2)) + s*w*r; in __kernel_sindf()
|
H A D | s_sinl.c | 47 union IEEEl2bits z; in sinl() local 52 z.e = x; in sinl() 53 s = z.bits.sign; in sinl() 54 z.bits.sign = 0; in sinl() 57 if (z.bits.exp == 0) in sinl() 61 if (z.bits.exp == 32767) in sinl() 67 if (z.e < M_PI_4) { in sinl() 68 hi = __kernel_sinl(z.e, 0, 0); in sinl()
|
H A D | s_ctanh.c | 74 ctanh(double complex z) in ctanh() argument 80 x = creal(z); in ctanh() 81 y = cimag(z); in ctanh() 140 ctan(double complex z) in ctan() argument 144 z = ctanh(CMPLX(cimag(z), creal(z))); in ctan() 145 return (CMPLX(cimag(z), creal(z))); in ctan()
|
H A D | s_ctanhf.c | 39 ctanhf(float complex z) in ctanhf() argument 45 x = crealf(z); in ctanhf() 46 y = cimagf(z); in ctanhf() 78 ctanf(float complex z) in ctanf() argument 81 z = ctanhf(CMPLXF(cimagf(z), crealf(z))); in ctanf() 82 return (CMPLXF(cimagf(z), crealf(z))); in ctanf()
|
H A D | s_ccoshf.c | 41 ccoshf(float complex z) in ccoshf() argument 46 x = crealf(z); in ccoshf() 47 y = cimagf(z); in ccoshf() 68 z = __ldexp_cexpf(CMPLXF(fabsf(x), y), -1); in ccoshf() 69 return (CMPLXF(crealf(z), cimagf(z) * copysignf(1, x))); in ccoshf() 97 ccosf(float complex z) in ccosf() argument 100 return (ccoshf(CMPLXF(-cimagf(z), crealf(z)))); in ccosf()
|
H A D | e_atan2f.c | 32 float z; in atan2f() local 81 z=pi_o_2+(float)0.5*pi_lo; in atan2f() 84 else if(k<-26&&hx<0) z=0.0; /* 0 > |y|/x > -2**-26 */ in atan2f() 85 else z=atanf(fabsf(y/x)); /* safe to do y/x */ in atan2f() 87 case 0: return z ; /* atan(+,+) */ in atan2f() 88 case 1: return -z ; /* atan(-,+) */ in atan2f() 89 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in atan2f() 91 return (z-pi_lo)-pi;/* atan(-,-) */ in atan2f()
|
H A D | s_atanf.c | 48 float w,s1,s2,z; in atanf() local 79 z = x*x; in atanf() 80 w = z*z; in atanf() 82 s1 = z*(aT[0]+w*(aT[2]+w*aT[4])); in atanf() 86 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanf() 87 return (hx<0)? -z:z; in atanf()
|
H A D | s_ccosh.c | 49 ccosh(double complex z) in ccosh() argument 54 x = creal(z); in ccosh() 55 y = cimag(z); in ccosh() 77 z = __ldexp_cexp(CMPLX(fabs(x), y), -1); in ccosh() 78 return (CMPLX(creal(z), cimag(z) * copysign(1, x))); in ccosh() 151 ccos(double complex z) in ccos() argument 155 return (ccosh(CMPLX(-cimag(z), creal(z)))); in ccos()
|
H A D | s_exp2.c | 343 double r, t, twopk, twopkp1000, z; in exp2() local 373 z = x - t; in exp2() 377 z -= tbl[i0 + 1]; /* eps[i0] */ in exp2() 382 r = t + t * z * (P1 + z * (P2 + z * (P3 + z * (P4 + z * P5)))); in exp2()
|
H A D | s_log1p.c | 100 double hfsq,f,c,s,z,R,u; in log1p() local 168 z = s*s; in log1p() 169 R = z*(Lp1+z*(Lp2+z*(Lp3+z*(Lp4+z*(Lp5+z*(Lp6+z*Lp7)))))); in log1p()
|
H A D | s_log1pf.c | 39 float hfsq,f,c,s,z,R,u; in log1pf() local 108 z = s*s; in log1pf() 109 R = z*(Lp1+z*(Lp2+z*(Lp3+z*(Lp4+z*(Lp5+z*(Lp6+z*Lp7)))))); in log1pf()
|
H A D | s_cosl.c | 57 union IEEEl2bits z; in cosl() local 62 z.e = x; in cosl() 63 z.bits.sign = 0; in cosl() 66 if (z.bits.exp == 0) in cosl() 70 if (z.bits.exp == 32767) in cosl() 76 if (z.e < pio4) in cosl() 77 RETURNI(__kernel_cosl(z.e, 0)); in cosl()
|
H A D | s_atan.c | 72 double w,s1,s2,z; in atan() local 106 z = x*x; in atan() 107 w = z*z; in atan() 109 s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10]))))); in atan() 113 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atan() 114 return (hx<0)? -z:z; in atan()
|
/freebsd/crypto/openssl/test/ |
H A D | casttest.c | 63 static int cast_test_vector(int z) in cast_test_vector() argument 69 CAST_set_key(&key, k_len[z], k); in cast_test_vector() 71 if (!TEST_mem_eq(out, sizeof(c[z]), c[z], sizeof(c[z]))) { in cast_test_vector() 72 TEST_info("CAST_ENCRYPT iteration %d failed (len=%d)", z, k_len[z]); in cast_test_vector() 78 TEST_info("CAST_DECRYPT iteration %d failed (len=%d)", z, k_len[z]); in cast_test_vector()
|
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 20.txt | 1 define w() { auto z; return 1; } 10 define z() { 11 "z" 29 if (x() == z()) { 11 } 31 if (x() <= z()) { 12 } 32 if (z() >= x()) { 13 } 33 if (x() != z()) { 14 } 34 if (x() < z()) { 15 } 35 if (z() > x()) { 16 }
|
/freebsd/contrib/arm-optimized-routines/string/aarch64/ |
H A D | strchr-sve.S | 32 0: ldff1b z0.b, p1/z, [x0, xzr] 33 rdffrs p0.b, p1/z 39 cmpeq p2.b, p1/z, z0.b, z1.b /* search for c */ 40 cmpeq p3.b, p1/z, z0.b, 0 /* search for 0 */ 41 orrs p4.b, p1/z, p2.b, p3.b /* c | 0 */ 46 1: brka p4.b, p1/z, p4.b /* find first such */ 57 2: cmpeq p2.b, p0/z, z0.b, z1.b /* search for c */ 58 cmpeq p3.b, p0/z, z0.b, 0 /* search for 0 */ 59 orrs p4.b, p0/z, p2.b, p3.b /* c | 0 */
|
H A D | strnlen-sve.S | 26 0: ldff1b z0.b, p0/z, [x0, x2] 27 rdffrs p1.b, p0/z 32 cmpeq p2.b, p0/z, z0.b, 0 42 ldff1b z0.b, p0/z, [x0, x2] 43 rdffrs p1.b, p0/z 49 cmpeq p2.b, p0/z, z0.b, 0 52 8: brkb p2.b, p0/z, p2.b 59 2: cmpeq p2.b, p1/z, z0.b, 0
|
H A D | strrchr-sve.S | 27 0: ldff1b z0.b, p1/z, [x0, xzr] 28 rdffrs p0.b, p1/z 34 cmpeq p3.b, p1/z, z0.b, 0 /* search for 0 */ 37 cmpeq p3.b, p1/z, z0.b, z1.b /* search for c; no eos */ 46 1: cmpeq p3.b, p0/z, z0.b, 0 /* search for 0 */ 49 cmpeq p3.b, p0/z, z0.b, z1.b /* search for c; no eos */ 61 3: brka p3.b, p1/z, p3.b /* mask after first 0 */ 62 cmpeq p3.b, p3/z, z0.b, z1.b /* search for c not after eos */ 73 brka p3.b, p1/z, p3.b /* find position of last match */
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mutex.cpp | 84 MutexType z = mutex_meta[t].can_lock[j]; in DebugMutexInit() local 85 if (z == MutexInvalid) in DebugMutexInit() 87 if (z == MutexLeaf) { in DebugMutexInit() 92 if (z == MutexMulti) { in DebugMutexInit() 96 CHECK_LT(z, kMutexTypeMax); in DebugMutexInit() 97 CHECK(!mutex_can_lock[t][z]); in DebugMutexInit() 98 mutex_can_lock[t][z] = true; in DebugMutexInit() 109 for (int z = 0; z < mutex_type_count; z++) { in DebugMutexInit() local 110 if (z == MutexInvalid || t == z || leaf[z]) in DebugMutexInit() 112 CHECK(!mutex_can_lock[z][t]); in DebugMutexInit() [all …]
|
/freebsd/usr.bin/gzip/ |
H A D | gzip.c | 563 z_stream z; in gz_compress() local 577 memset(&z, 0, sizeof z); in gz_compress() 580 z.opaque = 0; in gz_compress() 722 z_stream z; in gz_uncompress() local 750 #define ADVANCE() { z.next_in++; z.avail_in--; } in gz_uncompress() 761 memset(&z, 0, sizeof z); in gz_uncompress() 766 z.zalloc = NULL; in gz_uncompress() 767 z.zfree = NULL; in gz_uncompress() 768 z.opaque = 0; in gz_uncompress() 779 memmove(inbufp, z.next_in, z.avail_in); in gz_uncompress() [all …]
|
/freebsd/crypto/openssl/crypto/ripemd/ |
H A D | rmd_local.h | 50 #define F1(x,y,z) ((x) ^ (y) ^ (z)) argument 51 #define F2(x,y,z) ((((y) ^ (z)) & (x)) ^ (z)) argument 52 #define F3(x,y,z) (((~(y)) | (x)) ^ (z)) argument 53 #define F4(x,y,z) ((((x) ^ (y)) & (z)) ^ (y)) argument 54 #define F5(x,y,z) (((~(z)) | (y)) ^ (x)) argument
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | math64.h | 111 mul_u64_u64_div_u64(uint64_t x, uint64_t y, uint64_t z) in mul_u64_u64_div_u64() argument 118 y1z = y / z; in mul_u64_u64_div_u64() 119 y1 = y - y1z * z; in mul_u64_u64_div_u64() 132 if ((rem < y1) || (rem >= z)) { in mul_u64_u64_div_u64() 134 rem -= z; in mul_u64_u64_div_u64() 140 if ((y1 * 2 < y1) || (y1 * 2 >= z)) { in mul_u64_u64_div_u64() 142 y1 = y1 * 2 - z; in mul_u64_u64_div_u64() 149 KASSERT(res * z + rem == x * y, ("%s: res %ju * z %ju + rem %ju != " in mul_u64_u64_div_u64() 150 "x %ju * y %ju", __func__, (uintmax_t)res, (uintmax_t)z, in mul_u64_u64_div_u64() 152 KASSERT(rem < z, ("%s: rem %ju >= z %ju\n", __func__, in mul_u64_u64_div_u64() [all …]
|
/freebsd/bin/sh/tests/errors/ |
H A D | option-error.0 | 10 set -z, 16 cat -z,\ 20 fc -z,\ 22 hash -z,\ 23 jobs -z,\ 28 ulimit -z,\ 29 umask -z,\ 30 unalias -z,\
|
/freebsd/bin/sh/tests/builtins/ |
H A D | builtin1.0 | 15 check '-z "$(builtin :)"' 16 check '-z "$(builtin true)"' 17 check '-z "$( (builtin nosuchtool) 2>/dev/null)"' 18 check '-z "$(builtin nosuchtool 2>/dev/null)"' 19 check '-z "$(builtin nosuchtool 2>/dev/null; :)"' 20 check '-z "$( (builtin ls) 2>/dev/null)"' 21 check '-z "$(builtin ls 2>/dev/null)"' 22 check '-z "$(builtin ls 2>/dev/null; :)"'
|
/freebsd/contrib/arm-optimized-routines/math/ |
H A D | expf.c | 39 double_t kd, xd, z, r, r2, y, s; in expf() local 61 z = InvLn2N * xd; in expf() 67 kd = roundtoint (z); in expf() 68 ki = converttoint (z); in expf() 71 kd = eval_as_double (z + SHIFT); in expf() 75 r = z - kd; in expf() 81 z = C[0] * r + C[1]; in expf() 84 y = z * r2 + y; in expf()
|