rename intrinsics

This commit is contained in:
2026-07-14 19:22:20 +02:00
parent 471896b48a
commit 5157cf3bcc
26 changed files with 107640 additions and 106418 deletions
@@ -14,7 +14,7 @@ check_float func() i32 {
check_unsigned func() i32 {
n u32 = 100
n = div_trunc(n, 7) # 14
n = divtrunc!(n, 7) # 14
n -= 4 # 10
if n == 10 {
return 1
@@ -27,7 +27,7 @@ main func() i32 {
total += 10 # 10
total -= 3 # 7
total *= 4 # 28
total = div_trunc(total, 2) # 14
total = divtrunc!(total, 2) # 14
# binary operators honour precedence: 14 + (2 * 3) - 4 == 16
total = total + 2 * 3 - 4