- Notifications
You must be signed in to change notification settings - Fork5.1k
Commit3bf9056
committed
Cleanup INFINITY code in float.h
The INFINITY macro is always defined per C99 standard, so this shouldmean we can now get rid of the workaround code for when that macro isn'tdefined.Also, delete the (now unneeded) #pragma code which was disabling acompiler warning in MSVC. There was a comment explaining why the #pragmawas placed outside the function body to work around a MSVC compiler bug,but the link explaining that was dead, as reported by jian he.Author: David Rowley <dgrowleyml@gmail.com>Reported-by: jian he <jian.universality@gmail.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/CACJufxGARYETnNwtCK7QC0zE_7gq-tfN0mME=gT5rTNtC=VSHQ@mail.gmail.com1 parent64095d1 commit3bf9056
1 file changed
+7
-42
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 | 54 |
| |
74 | 55 |
| |
75 | 56 |
| |
76 |
| - | |
77 | 57 |
| |
78 | 58 |
| |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 | 59 |
| |
92 | 60 |
| |
93 | 61 |
| |
94 | 62 |
| |
95 | 63 |
| |
96 |
| - | |
97 | 64 |
| |
98 | 65 |
| |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 | 66 |
| |
109 | 67 |
| |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
110 | 75 |
| |
111 | 76 |
| |
112 | 77 |
| |
|
0 commit comments
Comments
(0)