- Notifications
You must be signed in to change notification settings - Fork28
Commitcb3e9e4
committed
Put in_range_float4_float8's work in-line.
In commit8b29e88, I'd dithered about whether to makein_range_float4_float8 be a standalone copy of the float in-range logicor have it punt to in_range_float8_float8. I went with the latter, whichsaves code space though at the cost of performance and readability.However, it emerges that this tickles a compiler or hardware bug onbuildfarm member opossum. Test results from commit55e0e45 showconclusively that widening a float4 NaN to float8 produces Inf, not NaN,on that machine; which accounts perfectly for the window RANGE testfailures it's been showing. We can dodge this problem by makingin_range_float4_float8 be an independent function, so that it checksfor NaN inputs before widening them.Ordinarily I'd not be very excited about working around such obviouslybroken functionality; but given that this was a judgment call to beginwith, I don't mind reversing it.1 parent2f52518 commitcb3e9e4
1 file changed
+58
-10
lines changedLines changed: 58 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1254 | 1254 |
| |
1255 | 1255 |
| |
1256 | 1256 |
| |
1257 |
| - | |
1258 |
| - | |
1259 |
| - | |
1260 |
| - | |
1261 |
| - | |
1262 |
| - | |
1263 |
| - | |
1264 |
| - | |
1265 |
| - | |
1266 |
| - | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
1267 | 1315 |
| |
1268 | 1316 |
| |
1269 | 1317 |
| |
|
0 commit comments
Comments
(0)