Lines Matching refs:res_ptr
30 __mpn_extract_double (mp_ptr res_ptr, mp_size_t size, in __mpn_extract_double() argument
41 res_ptr[0] = u.ieee.mantissa1; /* Low-order 32 bits of fraction. */ in __mpn_extract_double()
42 res_ptr[1] = u.ieee.mantissa0; /* High-order 20 bits. */ in __mpn_extract_double()
47 res_ptr[0] = ((mp_limb_t) u.ieee.mantissa0 << 32) | u.ieee.mantissa1; in __mpn_extract_double()
60 if (res_ptr[0] == 0 && res_ptr[N - 1] == 0) /* Assumes N<=2. */ in __mpn_extract_double()
69 if (res_ptr[N - 1] != 0) in __mpn_extract_double()
71 count_leading_zeros (cnt, res_ptr[N - 1]); in __mpn_extract_double()
74 res_ptr[N - 1] = res_ptr[1] << cnt in __mpn_extract_double()
76 * (res_ptr[0] >> (BITS_PER_MP_LIMB - cnt)); in __mpn_extract_double()
77 res_ptr[0] <<= cnt; in __mpn_extract_double()
79 res_ptr[N - 1] <<= cnt; in __mpn_extract_double()
85 count_leading_zeros (cnt, res_ptr[0]); in __mpn_extract_double()
88 res_ptr[N - 1] = res_ptr[0] << (cnt - NUM_LEADING_ZEROS); in __mpn_extract_double()
89 res_ptr[0] = 0; in __mpn_extract_double()
93 res_ptr[N - 1] = res_ptr[0] >> (NUM_LEADING_ZEROS - cnt); in __mpn_extract_double()
94 res_ptr[0] <<= BITS_PER_MP_LIMB - (NUM_LEADING_ZEROS - cnt); in __mpn_extract_double()
103 res_ptr[N - 1] |= (mp_limb_t) 1 << (DBL_MANT_DIG - 1 in __mpn_extract_double()