Home
last modified time | relevance | path

Searched refs:sign (Results 176 - 200 of 1066) sorted by relevance

12345678910>>...43

/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dexpm1f.c35 int k, sign = u.i >> 31; in expm1f() local
41 if (sign) in expm1f()
52 if (!sign) { in expm1f()
62 k = invln2*x + (sign ? -0.5f : 0.5f); in expm1f()
H A Dj1.c65 static double common(uint32_t ix, double x, int y1, int sign) in common() argument
96 if (sign) in common()
117 int sign; in j1() local
120 sign = ix>>31; in j1()
125 return common(ix, fabs(x), 0, sign); in j1()
H A D__math_divzero.c3 double __math_divzero(uint32_t sign) in __math_divzero() argument
5 return fp_barrier(sign ? -1.0 : 1.0) / 0.0; in __math_divzero()
/third_party/musl/src/math/
H A Dexpm1.c126 int k, sign = u.i>>63; in expm1() local
132 if (sign) in expm1()
143 if (!sign) { in expm1()
153 k = invln2*x + (sign ? -0.5 : 0.5); in expm1()
H A Dexpm1f.c35 int k, sign = u.i >> 31; in expm1f() local
41 if (sign) in expm1f()
52 if (!sign) { in expm1f()
62 k = invln2*x + (sign ? -0.5f : 0.5f); in expm1f()
H A Dj1.c65 static double common(uint32_t ix, double x, int y1, int sign) in common() argument
96 if (sign) in common()
117 int sign; in j1() local
120 sign = ix>>31; in j1()
125 return common(ix, fabs(x), 0, sign); in j1()
H A D__math_divzero.c3 double __math_divzero(uint32_t sign) in __math_divzero() argument
5 return fp_barrier(sign ? -1.0 : 1.0) / 0.0; in __math_divzero()
/third_party/node/deps/npm/node_modules/sigstore/dist/
H A Dsigstore.js26 exports.createVerifier = exports.verify = exports.attest = exports.sign = void 0;
46 async function sign(payload,
53 exports.sign = sign;
/third_party/node/deps/v8/src/codegen/arm64/
H A Dutils-arm64.cc44 float float_pack(uint32_t sign, uint32_t exp, uint32_t mantissa) { in float_pack() argument
45 uint32_t bits = sign << kFloatExponentBits | exp; in float_pack()
49 double double_pack(uint64_t sign, uint64_t exp, uint64_t mantissa) { in double_pack() argument
50 uint64_t bits = sign << kDoubleExponentBits | exp; in double_pack()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dfloat16_helper.cc40 // Return sign value of 32 bits float.
66 uint32_t sign = (static_cast<uint32_t>(value[1]) & 0x80) << 24U; in HexFloat16ToFloat() local
78 uint32_t hex = sign | exponent | mantissa; in HexFloat16ToFloat()
138 uint16_t sign = FloatSign(*hex); in FloatToHexFloat16() local
142 return static_cast<uint16_t>(static_cast<uint16_t>(sign << 15U) | in FloatToHexFloat16()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dgenerate_real.h98 // Determine the sign bit. in GenerateRealFromBits()
101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value in GenerateRealFromBits() local
106 sign = bits & uint64_t{0x8000000000000000}; in GenerateRealFromBits()
110 sign = static_cast<uint32_t>(tmp >> 32); in GenerateRealFromBits()
129 // the individual fields: sign, exp, mantissa(bits). in GenerateRealFromBits()
130 uint_type val = sign | (static_cast<uint_type>(exp) << kExp) | in GenerateRealFromBits()
/third_party/ffmpeg/libavcodec/
H A Dmsmpeg4enc.c341 int range, bit_size, sign, code, bits; in msmpeg4v2_encode_motion() local
356 sign = 0; in msmpeg4v2_encode_motion()
359 sign = 1; in msmpeg4v2_encode_motion()
365 put_bits(&s->pb, ff_mvtab[code][1] + 1, (ff_mvtab[code][0] << 1) | sign); in msmpeg4v2_encode_motion()
497 int sign, code; in msmpeg4_encode_dc() local
524 sign = 0; in msmpeg4_encode_dc()
527 sign = 1; in msmpeg4_encode_dc()
551 put_bits(&s->pb, 1, sign); in msmpeg4_encode_dc()
562 int last_non_zero, sign, slevel; in ff_msmpeg4_encode_block() local
603 sign in ff_msmpeg4_encode_block()
[all...]
H A Dgolomb.h276 int log = av_log2(buf), sign; in get_se_golomb() local
286 sign = -(buf & 1); in get_se_golomb()
287 buf = ((buf >> 1) ^ sign) - sign; in get_se_golomb()
297 int sign = (buf & 1) - 1; in get_se_golomb_long() local
298 return ((buf >> 1) ^ sign) + 1; in get_se_golomb_long()
364 int sign = -get_bits1(gb); in dirac_get_se_golomb() local
365 ret = (ret ^ sign) - sign; in dirac_get_se_golomb()
H A Dvp5.c97 int sign = vp56_rac_get_prob(c, model->vector_sig[comp]); in vp5_parse_vector_adjustment() local
103 delta = (delta ^ -sign) + sign; in vp5_parse_vector_adjustment()
188 int coeff, sign, coeff_idx; in vp5_parse_coeff() local
214 sign = vp56_rac_get(c); in vp5_parse_coeff()
226 sign = vp56_rac_get(c); in vp5_parse_coeff()
232 sign = vp56_rac_get(c); in vp5_parse_coeff()
235 coeff = (coeff ^ -sign) + sign; in vp5_parse_coeff()
H A Ddsd.c75 int t, e, m, sign; in dsd_ctables_tableinit() local
80 sign = (((e >> (7 - m)) & 1) * 2 - 1); in dsd_ctables_tableinit()
82 acc[t] += sign * htaps[t * 8 + m]; in dsd_ctables_tableinit()
/third_party/python/Objects/
H A Dfloatobject.c657 /* ensure the remainder has the same sign as the denominator */ in float_rem()
665 it has the same sign as the denominator. */ in float_rem()
684 /* ensure the remainder has the same sign as the denominator */ in _float_div_mod()
693 it has the same sign as the denominator. */ in _float_div_mod()
704 /* div is zero - get the same sign as the true quotient */ in _float_div_mod()
705 *floordiv = copysign(0.0, vx / wx); /* zero w/ sign of vx/wx */ in _float_div_mod()
785 * both cases, we need to add the appropriate sign if w is in float_pow()
805 /* use correct sign if iw is odd */ in float_pow()
967 int decpt, sign; in double_round() local
973 buf = _Py_dg_dtoa(x, 3, ndigits, &decpt, &sign, in double_round()
2072 unsigned char sign; PyFloat_Pack2() local
2178 unsigned char sign; PyFloat_Pack4() local
2286 unsigned char sign; PyFloat_Pack8() local
2415 unsigned char sign; PyFloat_Unpack2() local
2479 unsigned char sign; PyFloat_Unpack4() local
2558 unsigned char sign; PyFloat_Unpack8() local
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dio.c206 uint8_t sign = MPD_POS; in mpd_qset_string() local
212 /* sign */ in mpd_qset_string()
218 sign = MPD_NEG; in mpd_qset_string()
224 mpd_setspecial(dec, sign, MPD_NAN); in mpd_qset_string()
240 mpd_setspecial(dec, sign, MPD_SNAN); in mpd_qset_string()
257 mpd_setspecial(dec, sign, MPD_INF); in mpd_qset_string()
385 char sign = '+'; in exp_to_string() local
388 sign = '-'; in exp_to_string()
391 *s++ = sign; in exp_to_string()
799 spec->sign in mpd_parse_fmt_str()
987 _mpd_add_sep_dot(mpd_mbstr_t *dest, const char *sign, const char *src, mpd_ssize_t n_src, const char *dot, const char *rest, mpd_ssize_t n_rest, const mpd_spec_t *spec) _mpd_add_sep_dot() argument
1095 const char *sign = NULL, *intpart = NULL, *dot = NULL; _mpd_apply_lconv() local
[all...]
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-helpers-conversion.c408 bool sign = false; /* positive */ in ecma_utf8_string_to_number() local
416 sign = true; /* negative */ in ecma_utf8_string_to_number()
433 return ecma_number_make_infinity (sign); in ecma_utf8_string_to_number()
563 return ecma_number_make_infinity (sign); in ecma_utf8_string_to_number()
567 return sign ? -ECMA_NUMBER_ZERO : ECMA_NUMBER_ZERO; in ecma_utf8_string_to_number()
605 return sign ? -ECMA_NUMBER_ZERO : ECMA_NUMBER_ZERO; in ecma_utf8_string_to_number()
692 return ecma_number_make_from_sign_mantissa_and_exponent (sign, fraction_uint64, binary_exponent); in ecma_utf8_string_to_number()
767 const bool sign = ecma_number_is_negative (num); in ecma_number_to_uint32() local
768 const ecma_number_t abs_num = sign ? -num : num; in ecma_number_to_uint32()
791 const uint32_t ret = sign in ecma_number_to_uint32()
[all...]
/third_party/musl/third_party/openbsd/gnu/lib/libexecinfo/
H A Dbacktrace.c130 char sign; in format_address() local
144 sign = '+'; in format_address()
146 snprintf(dli.dli_sname, TEMP_SIZE, "%c%tx", sign, offset); in format_address()
148 sign = '-'; in format_address()
150 snprintf(dli.dli_sname, TEMP_SIZE, "%c%tx", sign, offset); in format_address()
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_simple.cpp109 void SimpleNumber::setSign(USimpleNumberSign sign, UErrorCode& status) { in setSign() argument
117 fSign = sign; in setSign()
222 void SimpleNumberFormatter::formatImpl(UFormattedNumberData* data, USimpleNumberSign sign, UErrorCode &status) const { in formatImpl() argument
236 if (sign == UNUM_SIMPLE_NUMBER_MINUS_SIGN) { in formatImpl()
238 } else if (sign == UNUM_SIMPLE_NUMBER_PLUS_SIGN) { in formatImpl()
/third_party/skia/src/core/
H A DSkMathPriv.h55 /** If sign == -1, returns -n, else sign must be 0, and returns n.
58 static inline int32_t SkApplySign(int32_t n, int32_t sign) { in SkApplySign() argument
59 SkASSERT(sign == 0 || sign == -1); in SkApplySign()
60 return (n ^ sign) - sign; in SkApplySign()
63 /** Return x with the sign of y */
/third_party/python/Python/
H A Dformatter_unicode.c108 /* returns true if this character is a sign element */
134 Py_UCS4 sign; member
171 format->sign = '\0'; in parse_internal_render_format_spec()
192 /* Parse the various sign options */ in parse_internal_render_format_spec()
194 format->sign = READ_spec(pos); in parse_internal_render_format_spec()
331 assert (format->sign <= 127); in parse_internal_render_format_spec()
418 char sign; member
419 Py_ssize_t n_sign; /* number of digits needed for sign (0/1) */
490 spec->sign = '\0'; in calc_number_widths()
495 | <lpadding> <sign> <prefi in calc_number_widths()
[all...]
/third_party/musl/porting/liteos_m/kernel/src/math/
H A D__math_divzero.c3 double __math_divzero(uint32_t sign) in __math_divzero() argument
5 return fp_barrier(sign ? -1.0 : 1.0) / 0.0; in __math_divzero()
/third_party/musl/porting/uniproton/kernel/src/math/
H A D__math_divzero.c3 double __math_divzero(uint32_t sign) in __math_divzero() argument
5 return fp_barrier(sign ? -1.0 : 1.0) / 0.0; in __math_divzero()
/third_party/ffmpeg/libavformat/
H A Dreplaygain.c43 int sign = 1; in parse_value() local
52 sign = -1; in parse_value()
66 return db * 100000 + sign * mb; in parse_value()

Completed in 16 milliseconds

12345678910>>...43