Skip to content

Commit

Permalink
revert test stdlib changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gusarich committed Jul 15, 2024
1 parent d8e783b commit c5026b0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions stdlib/std/math.tact
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ inline fun random(min: Int, max: Int): Int {

// Math

fun min(x: Int, y: Int): Int {
if (x < y) {
return x;
}
return y;
}
@name(min)
native min(x: Int, y: Int): Int;

@name(max)
native max(x: Int, y: Int): Int;
Expand Down

0 comments on commit c5026b0

Please sign in to comment.