/freebsd/lib/msun/src/ |
H A D | e_atan2.c | 59 double z; in atan2() local 109 z=pi_o_2+0.5*pi_lo; in atan2() 112 else if(hx<0&&k<-60) z=0.0; /* 0 > |y|/x > -2**-60 */ in atan2() 113 else z=atan(fabs(y/x)); /* safe to do y/x */ in atan2() 115 case 0: return z ; /* atan(+,+) */ in atan2() 116 case 1: return -z ; /* atan(-,+) */ in atan2() 117 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in atan2() 119 return (z-pi_lo)-pi;/* atan(-,-) */ in atan2()
|
H A D | s_atanl.c | 32 long double w,s1,s2,z; in atanl() local 71 z = x*x; in atanl() 72 w = z*z; in atanl() 74 s1 = z*T_even(w); in atanl() 78 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanl() 79 return (expsign<0)? -z:z; in atanl()
|
H A D | s_exp2f.c | 96 double tv, twopk, u, z; in exp2f() local 126 z = x - t; in exp2f() 131 u = tv * z; in exp2f() 132 tv = tv + u * (P1 + z * P2) + u * (z * z) * (P3 + z * P4); in exp2f()
|
H A D | e_sqrtf.c | 31 float z; in sqrtf() local 79 z = one-tiny; /* trigger inexact flag */ in sqrtf() 80 if (z>=one) { in sqrtf() 81 z = one+tiny; in sqrtf() 82 if (z>one) in sqrtf() 90 SET_FLOAT_WORD(z,ix); in sqrtf() 91 return z; in sqrtf()
|
H A D | s_fmaf.c | 36 fmaf(float x, float y, float z) in fmaf() argument 38 return (__builtin_fmaf(x, y, z)); in fmaf() 49 fmaf(float x, float y, float z) in fmaf() argument 55 result = xy + z; in fmaf() 60 result - xy == z || /* exact */ in fmaf() 70 double adjusted_result = vxy + z; in fmaf()
|
/freebsd/lib/libc/softfloat/bits64/ |
H A D | softfloat.c | 139 if ( zSign ) z = - z; in roundAndPackInt32() 190 if ( zSign ) z = - z; in roundAndPackInt64() 1441 if ( aSign ) z = - z; in float32_to_int32_round_to_zero() 1526 if ( aSign ) z = - z; in float32_to_int64_round_to_zero() 2382 if ( aSign ) z = - z; in float64_to_int32_round_to_zero() 2487 if ( aSign ) z = - z; in float64_to_int64_round_to_zero() 3342 if ( aSign ) z = - z; in floatx80_to_int32_round_to_zero() 3436 if ( aSign ) z = - z; in floatx80_to_int64_round_to_zero() 4365 if ( aSign ) z = - z; in float128_to_int32_round_to_zero() 4680 add128( z.high, z.low, 0, lastBitMask>>1, &z.high, &z.low ); in float128_round_to_int() [all …]
|
/freebsd/usr.bin/xargs/ |
H A D | strnsubst.c | 91 char *x, *y, *z, *za; in main() local 97 z = y; in main() 98 strnsubst(&z, "{", "v ", 255); in main() 99 za = z; in main() 100 strnsubst(&z, NULL, za, 255); in main() 101 if (strcmp(z, "v ybir enpury!") == 0) in main() 105 printf("%s\n", z); in main() 108 free(z); in main()
|
/freebsd/sys/contrib/openzfs/module/zstd/ |
H A D | zfs_zstd.c | 700 if (!z) { in zstd_alloc() 721 if (!z) { in zstd_dctx_alloc() 724 if (z) { in zstd_dctx_alloc() 725 z->pool = NULL; in zstd_dctx_alloc() 733 if (!z) { in zstd_dctx_alloc() 747 if (!z) { in zstd_dctx_alloc() 751 z->kmem_type = type; in zstd_dctx_alloc() 752 z->kmem_size = nbytes; in zstd_dctx_alloc() 767 type = z->kmem_type; in zstd_free() 770 vmem_free(z, z->kmem_size); in zstd_free() [all …]
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | cook.c | 86 char z[4]; in ao_string_cook_escape_char() local 90 z[ct] = pzIn[ct]; in ao_string_cook_escape_char() 94 z[ct] = NUL; in ao_string_cook_escape_char() 95 *pRes = (char)strtoul(z, NULL, 16); in ao_string_cook_escape_char() 108 char z[4]; in ao_string_cook_escape_char() local 112 z[ct++] = *--pzIn; in ao_string_cook_escape_char() 114 z[ct] = pzIn[ct]; in ao_string_cook_escape_char() 119 z[ct] = NUL; in ao_string_cook_escape_char() 120 val = strtoul(z, NULL, 8); in ao_string_cook_escape_char()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | muldc3.c | 24 Dcomplex z; in __muldc3() local 25 COMPLEX_REAL(z) = __ac - __bd; in __muldc3() 26 COMPLEX_IMAGINARY(z) = __ad + __bc; in __muldc3() 27 if (crt_isnan(COMPLEX_REAL(z)) && crt_isnan(COMPLEX_IMAGINARY(z))) { in __muldc3() 60 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __muldc3() 61 COMPLEX_IMAGINARY(z) = CRT_INFINITY * (__a * __d + __b * __c); in __muldc3() 64 return z; in __muldc3()
|
H A D | mulsc3.c | 23 Fcomplex z; in __mulsc3() local 24 COMPLEX_REAL(z) = __ac - __bd; in __mulsc3() 25 COMPLEX_IMAGINARY(z) = __ad + __bc; in __mulsc3() 26 if (crt_isnan(COMPLEX_REAL(z)) && crt_isnan(COMPLEX_IMAGINARY(z))) { in __mulsc3() 59 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __mulsc3() 60 COMPLEX_IMAGINARY(z) = CRT_INFINITY * (__a * __d + __b * __c); in __mulsc3() 63 return z; in __mulsc3()
|
H A D | multc3.c | 27 Qcomplex z; in __multc3() local 28 COMPLEXTF_REAL(z) = ac - bd; in __multc3() 29 COMPLEXTF_IMAGINARY(z) = ad + bc; in __multc3() 30 if (crt_isnan(COMPLEXTF_REAL(z)) && crt_isnan(COMPLEXTF_IMAGINARY(z))) { in __multc3() 63 COMPLEXTF_REAL(z) = CRT_INFINITY * (a * c - b * d); in __multc3() 64 COMPLEXTF_IMAGINARY(z) = CRT_INFINITY * (a * d + b * c); in __multc3() 67 return z; in __multc3()
|
H A D | mulxc3.c | 26 Lcomplex z; in __mulxc3() local 27 COMPLEX_REAL(z) = __ac - __bd; in __mulxc3() 28 COMPLEX_IMAGINARY(z) = __ad + __bc; in __mulxc3() 29 if (crt_isnan(COMPLEX_REAL(z)) && crt_isnan(COMPLEX_IMAGINARY(z))) { in __mulxc3() 62 COMPLEX_REAL(z) = CRT_INFINITY * (__a * __c - __b * __d); in __mulxc3() 63 COMPLEX_IMAGINARY(z) = CRT_INFINITY * (__a * __d + __b * __c); in __mulxc3() 66 return z; in __mulxc3()
|
/freebsd/contrib/arm-optimized-routines/pl/math/ |
H A D | expf.c | 39 double_t kd, xd, z, r, r2, y, s; in optr_aor_exp_f32() local 57 z = InvLn2N * xd; in optr_aor_exp_f32() 62 kd = round (z); in optr_aor_exp_f32() 63 ki = lround (z); in optr_aor_exp_f32() 64 r = z - kd; in optr_aor_exp_f32() 70 z = C[0] * r + C[1]; in optr_aor_exp_f32() 73 y = z * r2 + y; in optr_aor_exp_f32()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | pbe_scrypt.c | 47 OSSL_PARAM params[7], *z = params; in EVP_PBE_scrypt_ex() local 73 *z++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_PASSWORD, in EVP_PBE_scrypt_ex() 76 *z++ = OSSL_PARAM_construct_octet_string(OSSL_KDF_PARAM_SALT, in EVP_PBE_scrypt_ex() 78 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_N, &N); in EVP_PBE_scrypt_ex() 79 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_R, &r); in EVP_PBE_scrypt_ex() 80 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_P, &p); in EVP_PBE_scrypt_ex() 81 *z++ = OSSL_PARAM_construct_uint64(OSSL_KDF_PARAM_SCRYPT_MAXMEM, &maxmem); in EVP_PBE_scrypt_ex() 82 *z = OSSL_PARAM_construct_end(); in EVP_PBE_scrypt_ex()
|
/freebsd/contrib/lua/src/ |
H A D | lzio.h | 20 #define zgetc(z) (((z)->n--)>0 ? cast_uchar(*(z)->p++) : luaZ_fill(z)) argument 47 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, 49 LUAI_FUNC size_t luaZ_read (ZIO* z, void *b, size_t n); /* read next n bytes */ 64 LUAI_FUNC int luaZ_fill (ZIO *z);
|
/freebsd/contrib/bearssl/src/int/ |
H A D | i32_montmul.c | 47 uint64_t z; in br_i32_montymul() local 50 z = (uint64_t)d[v + 1] + MUL(xu, y[v + 1]) + r1; in br_i32_montymul() 51 r1 = z >> 32; in br_i32_montymul() 52 t = (uint32_t)z; in br_i32_montymul() 53 z = (uint64_t)t + MUL(f, m[v + 1]) + r2; in br_i32_montymul() 54 r2 = z >> 32; in br_i32_montymul() 56 d[v] = (uint32_t)z; in br_i32_montymul()
|
/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | lzio.h | 20 #define zgetc(z) (((z)->n--)>0 ? cast_uchar(*(z)->p++) : luaZ_fill(z)) argument 46 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, 48 LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ 63 LUAI_FUNC int luaZ_fill (ZIO *z);
|
/freebsd/include/ |
H A D | tgmath.h | 79 __tg_type(x) + __tg_type(y) + __tg_type(z), \ 95 __tg_generic_simple(z, fnl, fnl, fnl), \ 96 __tg_generic_simple(z, fnl, fnl, fnl), \ 99 __tg_generic_simple(z, fnl, fnl, fnl), \ 100 __tg_generic_simple(z, fnl, fn , fn ), \ 103 __tg_generic_simple(z, fnl, fnl, fnl), \ 104 __tg_generic_simple(z, fnl, fn , fn ), \ 130 #define __tg_simple3(x, y, z, fn) \ argument 131 __tg_impl_simple(x, y, z, fn##l, fn, fn##f, x, y, z) 173 #define fma(x, y, z) __tg_simple3(x, y, z, fma) argument [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | jemalloc_internal_macros.h | 15 #define ZU(z) ((size_t)z) argument 16 #define ZD(z) ((ssize_t)z) argument 20 #define KZU(z) ZU(z##ULL) argument 21 #define KZD(z) ZD(z##LL) argument
|
/freebsd/lib/msun/ld80/ |
H A D | s_exp2l.c | 220 long double r, twopk, twopkp10000, z; in exp2l() local 263 z = x - u.e; in exp2l() 276 r = t_lo + (t_hi + t_lo) * z * (P1.e + z * (P2 + z * (P3 + z * (P4 in exp2l() 277 + z * (P5 + z * P6))))) + t_hi; in exp2l()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | debug.h | 273 #define ASSERT3B(x, y, z) \ argument 274 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 275 #define ASSERT3S(x, y, z) \ argument 276 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 277 #define ASSERT3U(x, y, z) \ argument 278 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 279 #define ASSERT3P(x, y, z) \ argument 283 #define ASSERT3BF(x, y, z, str, ...) ASSERT3B(x, y, z) argument 284 #define ASSERT3SF(x, y, z, str, ...) ASSERT3S(x, y, z) argument 285 #define ASSERT3UF(x, y, z, str, ...) ASSERT3U(x, y, z) argument [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | debug.h | 273 #define ASSERT3B(x, y, z) \ argument 274 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 275 #define ASSERT3S(x, y, z) \ argument 276 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 277 #define ASSERT3U(x, y, z) \ argument 278 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 279 #define ASSERT3P(x, y, z) \ argument 283 #define ASSERT3BF(x, y, z, str, ...) ASSERT3B(x, y, z) argument 284 #define ASSERT3SF(x, y, z, str, ...) ASSERT3S(x, y, z) argument 285 #define ASSERT3UF(x, y, z, str, ...) ASSERT3U(x, y, z) argument [all …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/ |
H A D | assert.h | 222 #define ASSERT3B(x, y, z) \ argument 223 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 224 #define ASSERT3S(x, y, z) \ argument 225 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 226 #define ASSERT3U(x, y, z) \ argument 227 ((void) sizeof ((uintptr_t)(x)), (void) sizeof ((uintptr_t)(z))) 228 #define ASSERT3P(x, y, z) \ argument 232 #define ASSERT3BF(x, y, z, str, ...) ASSERT3B(x, y, z) argument 233 #define ASSERT3SF(x, y, z, str, ...) ASSERT3S(x, y, z) argument 234 #define ASSERT3UF(x, y, z, str, ...) ASSERT3U(x, y, z) argument [all …]
|
/freebsd/contrib/sqlite3/ |
H A D | shell.c | 1669 if( *z=='-' || *z=='+' ) z++; in isNumber() 1684 if( *z=='+' || *z=='-' ) z++; in isNumber() 19807 while( z[0] && (z[0]!='-' || z[1]!='-') ) z++; in run_table_dump_query() 20991 if( z[0]=='-' && z[1]=='-' ) z++; in expertDotCommand() 22416 while( *z && *z!='\\' ) z++; in resolve_backslashes() 23260 if( (z[0]=='-' || z[0]=='+') && IsDigit(z[1]) ) z++; in testcase_glob() 24451 if( z[0]=='-' && z[1]=='-' ) z++; in recoverDatabaseCmd() 25583 if( z[0]=='-' && z[1]=='-' ) z++; in do_meta_command() 27115 if( z[0]=='-' && z[1]=='-' ) z++; in do_meta_command() 28424 while(*z && isspace(*z)) ++z; in one_input_line() [all …]
|