rename divFloor to divTrunc

This commit is contained in:
Kevin Gillette 2022-04-18 02:33:31 -06:00
parent 000ec79106
commit 6a3fd3a607
No known key found for this signature in database
GPG key ID: 9009F701BBC0D562
13 changed files with 36 additions and 36 deletions

View file

@ -423,7 +423,7 @@ fn binop_to_function(binop: BinOp) -> (&'static str, &'static str) {
Caret => (ModuleName::NUM, "pow"),
Star => (ModuleName::NUM, "mul"),
Slash => (ModuleName::NUM, "div"),
DoubleSlash => (ModuleName::NUM, "divFloor"),
DoubleSlash => (ModuleName::NUM, "divTrunc"),
Percent => (ModuleName::NUM, "rem"),
DoublePercent => (ModuleName::NUM, "mod"),
Plus => (ModuleName::NUM, "add"),