aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2023-06-14 00:51:31 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-06-16 13:33:31 -0700
commitc4cc796695dddbfba749514823ed29bda37b7bcd (patch)
tree8cf201509609767dbe5a8301e4e1e58824576275 /lib/std/math.zig
parent5d9e8f27d0dc131e0b4154c5f65376f2fb9f3500 (diff)
downloadzig-c4cc796695dddbfba749514823ed29bda37b7bcd.tar.gz
zig-c4cc796695dddbfba749514823ed29bda37b7bcd.zip
Sema: consider type bounds when refining result type of `@min`/`@max`
I achieved this through a major refactor of the logic of analyzeMinMax. This change should be compatible with vectors of comptime_int, which Andrew said are supposed to work (but which currently do not).
Diffstat (limited to 'lib/std/math.zig')
0 files changed, 0 insertions, 0 deletions