Home
last modified time | relevance | path

Searched refs:sign (Results 301 - 325 of 1887) sorted by relevance

1...<<11121314151617181920>>...76

/third_party/musl/porting/uniproton/kernel/src/math/
H A D__math_divzerof.c3 float __math_divzerof(uint32_t sign) in __math_divzerof() argument
5 return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f; in __math_divzerof()
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dmodule.c88 u32 upper, lower, sign, j1, j2; in apply_relocate() local
175 offset = (*(s32 *)loc << 1) >> 1; /* sign extend */ in apply_relocate()
250 sign = (upper >> 10) & 1; in apply_relocate()
253 offset = (sign << 24) | ((~(j1 ^ sign) & 1) << 23) | in apply_relocate()
254 ((~(j2 ^ sign) & 1) << 22) | in apply_relocate()
281 sign = (offset >> 24) & 1; in apply_relocate()
282 j1 = sign ^ (~(offset >> 23) & 1); in apply_relocate()
283 j2 = sign ^ (~(offset >> 22) & 1); in apply_relocate()
284 upper = (u16)((upper & 0xf800) | (sign << 1 in apply_relocate()
[all...]
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dmodule.c129 u32 upper, lower, sign, j1, j2; in apply_relocate() local
215 offset = (*(s32 *)loc << 1) >> 1; /* sign extend */ in apply_relocate()
339 sign = (upper >> 10) & 1; in apply_relocate()
342 offset = (sign << 24) | ((~(j1 ^ sign) & 1) << 23) | in apply_relocate()
343 ((~(j2 ^ sign) & 1) << 22) | in apply_relocate()
369 sign = (offset >> 24) & 1; in apply_relocate()
370 j1 = sign ^ (~(offset >> 23) & 1); in apply_relocate()
371 j2 = sign ^ (~(offset >> 22) & 1); in apply_relocate()
372 upper = (u16)((upper & 0xf800) | (sign << 1 in apply_relocate()
[all...]
/third_party/ffmpeg/libavcodec/
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/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...]
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
H A Dssinh.S26 | y = |X|, sgn = sign(X), and z = expm1(Y),
33 | sinh(X) = sign(X) * exp(|X|)/2.
37 | sgn := sign(X)
44 | sign(X)*Huge*Huge to generate overflow and an infinity with
45 | the appropriate sign. Huge is the largest finite number in
/kernel/linux/linux-6.6/arch/m68k/fpsp040/
H A Dssinh.S26 | y = |X|, sgn = sign(X), and z = expm1(Y),
33 | sinh(X) = sign(X) * exp(|X|)/2.
37 | sgn := sign(X)
44 | sign(X)*Huge*Huge to generate overflow and an infinity with
45 | the appropriate sign. Huge is the largest finite number in
/third_party/musl/porting/liteos_a/kernel/src/math/
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__expo2f.c8 float __expo2f(float x, float sign) in __expo2f() argument
15 /* in directed rounding correct sign before rounding or overflow is important */ in __expo2f()
16 return expf(x - kln2) * (sign * scale) * scale; in __expo2f()
/third_party/musl/src/math/
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()
/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 */
H A DSkHalf.cpp41 uint32_t sign = floatUnion.fUInt & sign_mask; in SkFloatToHalf() local
42 floatUnion.fUInt ^= sign; in SkFloatToHalf()
66 o |= sign >> 16; in SkFloatToHalf()
94 // Set sign in SkHalfToFloat()
/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()
/third_party/node/lib/internal/
H A Dwebidl.js38 const sign = MathSign(i);
40 return i % 2 === 0 ? i : i + sign;
42 const r = reminder < 0.5 ? i : i + sign;
65 // The notation “x modulo y” computes a value k of the same sign as y.
/third_party/musl/porting/liteos_a/kernel/src/locale/
H A D__mo_lookup.c25 int sign = strcmp(s, (char *)p + os); in __mo_lookup() local
26 if (!sign) { in __mo_lookup()
34 else if (sign < 0) in __mo_lookup()
/third_party/musl/src/locale/
H A D__mo_lookup.c25 int sign = strcmp(s, (char *)p + os); in __mo_lookup() local
26 if (!sign) { in __mo_lookup()
34 else if (sign < 0) in __mo_lookup()
/third_party/mesa3d/src/gallium/drivers/lima/
H A Dlima_texture.h115 float sign = 1.0; in lima_fixed8_to_float() local
119 sign = -1; in lima_fixed8_to_float()
122 return sign * (float)(i / 16.0); in lima_fixed8_to_float()
/third_party/optimized-routines/math/
H A Derff.c34 uint32_t sign = ix >> 31; in erff() local
85 if (sign) in erff()
98 if (sign) in erff()
/third_party/optimized-routines/math/test/rtest/
H A Dwrappers.h89 /* Change just the sign of the result. Only the top bit of 'sign' is used. */
90 void wrapper_set_sign(wrapperctx *ctx, uint32 sign);
91 void wrapper_set_sign_r(wrapperctx *ctx, uint32 sign);
92 void wrapper_set_sign_i(wrapperctx *ctx, uint32 sign);
/third_party/skia/docs/examples/
H A DColor_Type_RGBA_F16.cpp15 uint32_t sign = floatUnion.fUInt & 0x80000000u; in REG_FIDDLE() local
16 floatUnion.fUInt ^= sign; in REG_FIDDLE()
20 return (floatUnion.fUInt >> 13) | (sign >> 16); in REG_FIDDLE()
/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...]

Completed in 12 milliseconds

1...<<11121314151617181920>>...76