~vcs-imports/eglibc/trunk

« back to all changes in this revision

Viewing changes to libc/sysdeps/ieee754/ldbl-64-128/strtold_l.c

  • Committer: joseph
  • Date: 2013-09-05 22:41:05 UTC
  • Revision ID: svn-v4:7b3dc134-2b1b-0410-93df-9e9f96275f8d:trunk:23928
Merge changes between r23795 and r23927 from /fsf/trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
#define SET_MANTISSA(flt, mant) \
45
45
  do { union ieee854_long_double u;                                           \
46
46
       u.d = (flt);                                                           \
47
 
       u.ieee.mantissa0 = 0x8000;                                             \
48
 
       u.ieee.mantissa1 = 0;                                                  \
49
 
       u.ieee.mantissa2 = ((mant) >> 32);                                     \
50
 
       u.ieee.mantissa3 = (mant) & 0xffffffff;                                \
51
 
       (flt) = u.d;                                                           \
 
47
       u.ieee_nan.mantissa0 = 0;                                              \
 
48
       u.ieee_nan.mantissa1 = 0;                                              \
 
49
       u.ieee_nan.mantissa2 = (mant) >> 32;                                   \
 
50
       u.ieee_nan.mantissa3 = (mant);                                         \
 
51
       if ((u.ieee.mantissa0 | u.ieee.mantissa1                               \
 
52
            | u.ieee.mantissa2 | u.ieee.mantissa3) != 0)                      \
 
53
         (flt) = u.d;                                                         \
52
54
  } while (0)
53
55
 
54
56
#include <strtod_l.c>