forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb30cc0f
committed
Further portability tweaks for float4/float8 hash functions.
Attempting to make hashfloat4() look as much as possible likehashfloat8(), I'd figured I could replace NaNs with get_float4_nan()before widening to float8. However, results from protosciurusand topminnow show that on some platforms that produces a differentbit-pattern from get_float8_nan(), breaking the intent ofce773f2.Rearrange so that we use the result of get_float8_nan() for all NaNcases. As before, back-patch.1 parentac5ea66 commitb30cc0f
1 file changed
+12
-10
lines changedLines changed: 12 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
151 | 151 |
| |
152 | 152 |
| |
153 | 153 |
| |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 | 154 |
| |
163 | 155 |
| |
164 | 156 |
| |
| |||
168 | 160 |
| |
169 | 161 |
| |
170 | 162 |
| |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
171 | 173 |
| |
172 | 174 |
| |
173 | 175 |
| |
| |||
181 | 183 |
| |
182 | 184 |
| |
183 | 185 |
| |
184 |
| - | |
185 |
| - | |
186 | 186 |
| |
| 187 | + | |
| 188 | + | |
187 | 189 |
| |
188 | 190 |
| |
189 | 191 |
| |
|
0 commit comments
Comments
(0)