Replace @minimum and @maximum with @min and @max. (#713)

This commit is contained in:
IntegratedQuantum 2022-10-20 00:26:12 +02:00 committed by GitHub
parent 7c54ded487
commit 886cfeacb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -940,9 +940,9 @@ pub const builtins = [_]Builtin{
},
},
.{
.name = "@maximum",
.signature = "@maximum(a: T, b: T) T",
.snippet = "@maximum(${1:a: T}, ${2:b: T})",
.name = "@max",
.signature = "@max(a: T, b: T) T",
.snippet = "@max(${1:a: T}, ${2:b: T})",
.documentation =
\\Returns the maximum value of `a` and `b`. This builtin accepts integers, floats, and vectors of either. In the latter case, the operation is performed element wise.
\\
@ -1010,9 +1010,9 @@ pub const builtins = [_]Builtin{
},
},
.{
.name = "@minimum",
.signature = "@minimum(a: T, b: T) T",
.snippet = "@minimum(${1:a: T}, ${2:b: T})",
.name = "@min",
.signature = "@min(a: T, b: T) T",
.snippet = "@min(${1:a: T}, ${2:b: T})",
.documentation =
\\Returns the minimum value of `a` and `b`. This builtin accepts integers, floats, and vectors of either. In the latter case, the operation is performed element wise.
\\