diff options
| author | Yong He <yonghe@outlook.com> | 2024-09-09 08:18:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 23:18:26 +0800 |
| commit | 110d82fb75f19ac83e3a297e4783304481f66ce7 (patch) | |
| tree | 3fd1ecaf7be8a1e282e2f6dffa57981dfa2645b1 /source | |
| parent | 69ee8f63cdb0dad573f65b0b5fc45aad01ec8321 (diff) | |
Fix generic IInteger `mod` implementation. (#5037)
Diffstat (limited to 'source')
| -rw-r--r-- | source/slang/core.meta.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index 4e8529666..03dda0fe5 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -568,7 +568,7 @@ ${{{{ __intrinsic_op($(kIROp_Sub)) This sub(This other); __intrinsic_op($(kIROp_Mul)) This mul(This other); __intrinsic_op($(kIROp_Div)) This div(This other); - __intrinsic_op($(kIROp_FRem)) This mod(This other); + __intrinsic_op($(kIROp_IRem)) This mod(This other); __intrinsic_op($(kIROp_Neg)) This neg(); __intrinsic_op($(kIROp_Lsh)) This shl(int other); __intrinsic_op($(kIROp_Rsh)) This shr(int other); |
