aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-09-20 22:46:42 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2022-10-11 19:51:03 -0400
commit7a89eebfc64fd81a504700e105bdc2609bb2a442 (patch)
tree133017cd1927707e78cec899399f3c9b6ef3cd58 /src/codegen
parente6ebdcb82ed9fd226ef18670115b8b2617c0a392 (diff)
downloadzig-7a89eebfc64fd81a504700e105bdc2609bb2a442.tar.gz
zig-7a89eebfc64fd81a504700e105bdc2609bb2a442.zip
std.math: add support to cast for a comptime_int argument
This allows converting a comptime_int to an optional integer type, which either behaves the same as an implicit cast or produces null if the argument is outside the range of the destination type.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions