Merge branch 'trunk' into sqrt-unchecked

This commit is contained in:
Richard Feldman 2022-04-20 08:19:34 -04:00 committed by GitHub
commit 082fde976a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 832 additions and 806 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"),
Plus => (ModuleName::NUM, "add"),
Minus => (ModuleName::NUM, "sub"),