This repository was archived by the owner on Jan 26, 2022. It is now read-only.
Commit a302d13
Jakob Stoklund Olesen
Don't pass SIMD values to equal().
This function is implemented in terms of 'a == b', which causes two problems:
1. It doesn't do the right thing for Float32x4(NaN, NaN, NaN, NaN), and
2. It depends on value semantics for '==' to work.
Value semantics should only be tested by the testValueSemantics() function.1 parent 69db65b commit a302d13
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
397 | | - | |
398 | | - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
399 | 400 | | |
| 401 | + | |
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
| |||
0 commit comments