Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 12 of 12) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_csqrtl.c60 long double a, b, rx, ry, scale, t; in csqrtl() local
102 scale = 2; in csqrtl()
104 scale = 1; in csqrtl()
111 scale = 0x1p-32; in csqrtl()
117 rx = scale * t; in csqrtl()
118 ry = scale * b / (2 * t); in csqrtl()
121 rx = scale * fabsl(b) / (2 * t); in csqrtl()
122 ry = copysignl(scale * t, b); in csqrtl()
Ds_csqrt.c45 double a, b, rx, ry, scale, t; in csqrt() local
87 scale = 2; in csqrt()
89 scale = 1; in csqrt()
96 scale = 0x1p-27; in csqrt()
102 rx = scale * t; in csqrt()
103 ry = scale * b / (2 * t); in csqrt()
106 rx = scale * fabs(b) / (2 * t); in csqrt()
107 ry = copysign(scale * t, b); in csqrt()
Dk_expf.c62 float exp_x, scale; in __ldexp_expf() local
67 SET_FLOAT_WORD(scale, (0x7f + expt) << 23); in __ldexp_expf()
68 return (exp_x * scale); in __ldexp_expf()
Dk_exp.c79 double exp_x, scale; in __ldexp_exp() local
84 INSERT_WORDS(scale, (0x3ff + expt) << 20, 0); in __ldexp_exp()
85 return (exp_x * scale); in __ldexp_exp()
Ds_fmal.c97 add_and_denormalize(long double a, long double b, int scale) in add_and_denormalize() argument
117 bits_lost = -u.bits.exp - scale + 1; in add_and_denormalize()
121 return (ldexp(sum.hi, scale)); in add_and_denormalize()
Ds_fma.c101 add_and_denormalize(double a, double b, int scale) in add_and_denormalize() argument
121 bits_lost = -((int)(hibits >> 52) & 0x7ff) - scale + 1; in add_and_denormalize()
129 return (ldexp(sum.hi, scale)); in add_and_denormalize()
Dcatrigl.c338 long double scale; in real_part_reciprocal() local
354 scale = 1; in real_part_reciprocal()
355 SET_LDBL_EXPSIGN(scale, 0x7fff - ix); in real_part_reciprocal()
356 x *= scale; in real_part_reciprocal()
357 y *= scale; in real_part_reciprocal()
358 return (x / (x * x + y * y) * scale); in real_part_reciprocal()
Dcatrig.c533 double scale; in real_part_reciprocal() local
554 scale = 1; in real_part_reciprocal()
555 SET_HIGH_WORD(scale, 0x7ff00000 - ix); /* 2**(1-ilogb(x)) */ in real_part_reciprocal()
556 x *= scale; in real_part_reciprocal()
557 y *= scale; in real_part_reciprocal()
558 return (x / (x * x + y * y) * scale); in real_part_reciprocal()
Dcatrigf.c318 float scale; in real_part_reciprocal() local
334 SET_FLOAT_WORD(scale, 0x7f800000 - ix); in real_part_reciprocal()
335 x *= scale; in real_part_reciprocal()
336 y *= scale; in real_part_reciprocal()
337 return (x / (x * x + y * y) * scale); in real_part_reciprocal()
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
Dstrtod.c64 (x, scale) U *x; int scale; in sulp() argument
66 (U *x, int scale)
74 if (!scale || (i = 2*P + 1 - ((word0(x) & Exp_mask) >> Exp_shift)) <= 0)
91 int scale; local
439 scale = 0;
528 scale = 2*P;
532 if (scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
612 j = bbe - scale;
642 bd2 += scale;
711 if (!scale || y > 2*P*Exp_msk1)
[all …]
/bionic/libc/kernel/uapi/linux/dvb/
Dfrontend.h320 __u8 scale; member
/bionic/libc/kernel/uapi/sound/
Dasoc.h170 struct snd_soc_tplg_tlv_dbscale scale; member