Deleted Added
full compact
strtorf.c (165744) strtorf.c (219557)
1/****************************************************************
2
3The author of this software is David M. Gay.
4
5Copyright (C) 1998, 2000 by Lucent Technologies
6All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and

--- 32 unchanged lines hidden (view full) ---

41 switch(k & STRTOG_Retmask) {
42 case STRTOG_NoNumber:
43 case STRTOG_Zero:
44 *L = 0;
45 break;
46
47 case STRTOG_Normal:
48 case STRTOG_NaNbits:
1/****************************************************************
2
3The author of this software is David M. Gay.
4
5Copyright (C) 1998, 2000 by Lucent Technologies
6All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and

--- 32 unchanged lines hidden (view full) ---

41 switch(k & STRTOG_Retmask) {
42 case STRTOG_NoNumber:
43 case STRTOG_Zero:
44 *L = 0;
45 break;
46
47 case STRTOG_Normal:
48 case STRTOG_NaNbits:
49 L[0] = bits[0] & 0x7fffff | exp + 0x7f + 23 << 23;
49 L[0] = (bits[0] & 0x7fffff) | ((exp + 0x7f + 23) << 23);
50 break;
51
52 case STRTOG_Denormal:
53 L[0] = bits[0];
54 break;
55
56 case STRTOG_Infinite:
57 L[0] = 0x7f800000;

--- 32 unchanged lines hidden ---
50 break;
51
52 case STRTOG_Denormal:
53 L[0] = bits[0];
54 break;
55
56 case STRTOG_Infinite:
57 L[0] = 0x7f800000;

--- 32 unchanged lines hidden ---