Deleted Added
full compact
strtorQ.c (165744) strtorQ.c (174679)
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

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

24ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
25THIS SOFTWARE.
26
27****************************************************************/
28
29/* Please send bug reports to David M. Gay (dmg at acm dot org,
30 * with " at " changed at "@" and " dot " changed to "."). */
31
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

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

24ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
25THIS SOFTWARE.
26
27****************************************************************/
28
29/* Please send bug reports to David M. Gay (dmg at acm dot org,
30 * with " at " changed at "@" and " dot " changed to "."). */
31
32/* $FreeBSD: head/contrib/gdtoa/strtorQ.c 174679 2007-12-16 21:14:33Z das $ */
33
32#include "gdtoaimp.h"
33
34#undef _0
35#undef _1
36
37/* one or the other of IEEE_MC68k or IEEE_8087 should be #defined */
38
39#ifdef IEEE_MC68k

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

62 L[0] = L[1] = L[2] = L[3] = 0;
63 break;
64
65 case STRTOG_Normal:
66 case STRTOG_NaNbits:
67 L[_3] = bits[0];
68 L[_2] = bits[1];
69 L[_1] = bits[2];
34#include "gdtoaimp.h"
35
36#undef _0
37#undef _1
38
39/* one or the other of IEEE_MC68k or IEEE_8087 should be #defined */
40
41#ifdef IEEE_MC68k

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

64 L[0] = L[1] = L[2] = L[3] = 0;
65 break;
66
67 case STRTOG_Normal:
68 case STRTOG_NaNbits:
69 L[_3] = bits[0];
70 L[_2] = bits[1];
71 L[_1] = bits[2];
70 L[_0] = (bits[3] & ~0x10000) | ((exp + 0x3fff + 112) << 16);
72 L[_0] = (bits[3] & ~0x10000)
73 | (((exp + 0x3fff + 112) << 16) | (1 << 15));
71 break;
72
73 case STRTOG_Denormal:
74 L[_3] = bits[0];
75 L[_2] = bits[1];
76 L[_1] = bits[2];
77 L[_0] = bits[3];
78 break;

--- 39 unchanged lines hidden ---
74 break;
75
76 case STRTOG_Denormal:
77 L[_3] = bits[0];
78 L[_2] = bits[1];
79 L[_1] = bits[2];
80 L[_0] = bits[3];
81 break;

--- 39 unchanged lines hidden ---