Home
last modified time | relevance | path

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

/arch/x86/math-emu/
Dpoly_tan.c55 argSignif, fix_up; in poly_tan() local
173 XSIG_LL(fix_up) = 0x898cc51701b839a2LL; in poly_tan()
174 fix_up.lsw = 0; in poly_tan()
186 fix_up.msw += adj; in poly_tan()
187 if (!(fix_up.msw & 0x80000000)) { /* did fix_up overflow ? */ in poly_tan()
189 shr_Xsig(&fix_up, 1); in poly_tan()
190 fix_up.msw |= 0x80000000; in poly_tan()
191 shr_Xsig(&fix_up, 64 + exponent); in poly_tan()
193 shr_Xsig(&fix_up, 65 + exponent); in poly_tan()
195 add_two_Xsig(&accum, &fix_up, &exponent); in poly_tan()
Dpoly_sin.c61 unsigned long fix_up, adj; in poly_sine() local
166 fix_up = 0x898cc517; in poly_sine()
170 fix_up -= mul_32_32(0x898cc517, argSqrd.msw) / 6; in poly_sine()
172 fix_up = mul_32_32(fix_up, LL_MSW(fixed_arg)); in poly_sine()
175 accumulator.lsw -= fix_up; in poly_sine()
204 Xsig accumulator, argSqrd, fix_up, argTo4; in poly_cos() local
346 XSIG_LL(fix_up) = 0x898cc51701b839a2ll; in poly_cos()
347 fix_up.lsw = 0; in poly_cos()
352 fix_up.msw -= mul_32_32(0x898cc517, argSqrd.msw) / 2; in poly_cos()
353 fix_up.msw += mul_32_32(0x898cc517, argTo4.msw) / 24; in poly_cos()
[all …]