diff options
| author | Michael Bradshaw <github@mjb.io> | 2023-10-20 07:20:01 -0600 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-10-21 20:51:51 +0300 |
| commit | cc56577edfadd7685de7fb14c013c5e3a69c28ce (patch) | |
| tree | 4bef172448f765f0526324bdd23f6ff1fc98910b /lib/std/priority_queue.zig | |
| parent | b403ca0aabb4529949b48e68f1392afc31098a98 (diff) | |
| download | zig-cc56577edfadd7685de7fb14c013c5e3a69c28ce.tar.gz zig-cc56577edfadd7685de7fb14c013c5e3a69c28ce.zip | |
Return zero for NaN-to-int lossy casts
Fixes #15038.
The goal here is to guarantee lossyCast() is panic-free and always safe.
Diffstat (limited to 'lib/std/priority_queue.zig')
0 files changed, 0 insertions, 0 deletions
