Home
last modified time | relevance | path

Searched refs:dg (Results 1 – 2 of 2) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libm/machine/spu/headers/
Dsqrt.h55 vec_double2 x, dx, de, dd, dy, dg, dy2, dhalf; in _sqrt() local
86 dg = spu_extend(fg); in _sqrt()
92 de = spu_nmsub(dy, dg, dhalf); in _sqrt()
93 dd = spu_nmsub(dg, dg, dx); in _sqrt()
95 dg = spu_madd(dy, dd, dg); /* 44 bit approximation */ in _sqrt()
97 dd = spu_nmsub(dg, dg, dx); in _sqrt()
98 dg = spu_madd(dy, dd, dg); /* full double precision approximation */ in _sqrt()
106 dg = (vec_double2)spu_add((vec_int4)dg, bias_exp); in _sqrt()
127 dg = spu_sel(spu_andc(spu_or(dg, neg), denorm), x, nochange); in _sqrt()
132 return (spu_extract(dg, 0)); in _sqrt()
Dsqrtd2.h63 vec_double2 dx, de, dd, dy, dg, dy2, dhalf; in _sqrtd2() local
102 dg = spu_extend(fg); in _sqrtd2()
108 de = spu_nmsub(dy, dg, dhalf); in _sqrtd2()
109 dd = spu_nmsub(dg, dg, dx); in _sqrtd2()
111 dg = spu_madd(dy, dd, dg); /* 44 bit approximation */ in _sqrtd2()
113 dd = spu_nmsub(dg, dg, dx); in _sqrtd2()
114 dg = spu_madd(dy, dd, dg); /* full double precision approximation */ in _sqrtd2()
127 dg = (vec_double2)spu_add((vec_int4)dg, bias_exp); in _sqrtd2()
145 dg = spu_sel(spu_or(dg, neg), in, nochange); in _sqrtd2()
147 return (dg); in _sqrtd2()