* sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)

[BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'. 
* sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double) 
[BITS_PER_MP_LIMB == 64]: Likewise.
	* sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
	[BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
	* sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
	[BITS_PER_MP_LIMB == 64]: Likewise.
This commit is contained in:
Brendan Kehoe 1995-04-15 16:04:06 +00:00
parent d619f2a8a7
commit fc40c039a4
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
* sysdeps/ieee754/mpn2dbl.c (__mpn_construct_double)
[BITS_PER_MP_LIMB == 64]: Refer to `u', not to non-existent `i'.
* sysdeps/ieee754/mpn2ldbl.c (__mpn_construct_long_double)
[BITS_PER_MP_LIMB == 64]: Likewise.
* sysdeps/unix/bsd/osf/alpha/killpg.S (killpg): Add .end directive.
* sysdeps/unix/bsd/osf/alpha/sigblock.S (__sigblock): Likewise.
* sysdeps/unix/bsd/osf/alpha/sigsetmask.S (__sigsetmask): Likewise.

View File

@ -37,7 +37,7 @@ __mpn_construct_double (mp_srcptr frac_ptr, int expt, int negative)
u.ieee.mantissa0 = frac_ptr[1] & ((1 << (DBL_MANT_DIG - 32)) - 1);
#elif BITS_PER_MP_LIMB == 64
u.ieee.mantissa1 = frac_ptr[0] & ((1 << 32) - 1);
i.ieee.mantissa0 = (frac_ptr[0] >> 32) & ((1 << (DBL_MANT_DIG - 32)) - 1);
u.ieee.mantissa0 = (frac_ptr[0] >> 32) & ((1 << (DBL_MANT_DIG - 32)) - 1);
#else
#error "mp_limb size " BITS_PER_MP_LIMB "not accounted for"
#endif

View File

@ -37,7 +37,7 @@ __mpn_construct_long_double (mp_srcptr frac_ptr, int expt, int sign)
u.ieee.mantissa0 = frac_ptr[1];
#elif BITS_PER_MP_LIMB == 64
u.ieee.mantissa1 = frac_ptr[0] & ((1 << 32) - 1);
i.ieee.mantissa0 = frac_ptr[0] >> 32;
u.ieee.mantissa0 = frac_ptr[0] >> 32;
#else
#error "mp_limb size " BITS_PER_MP_LIMB "not accounted for"
#endif