Replace @minimum and @maximum with @min and @max. (#713)
This commit is contained in:
parent
7c54ded487
commit
886cfeacb5
@ -940,9 +940,9 @@ pub const builtins = [_]Builtin{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
.{
|
.{
|
||||||
.name = "@maximum",
|
.name = "@max",
|
||||||
.signature = "@maximum(a: T, b: T) T",
|
.signature = "@max(a: T, b: T) T",
|
||||||
.snippet = "@maximum(${1:a: T}, ${2:b: T})",
|
.snippet = "@max(${1:a: T}, ${2:b: T})",
|
||||||
.documentation =
|
.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.
|
\\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",
|
.name = "@min",
|
||||||
.signature = "@minimum(a: T, b: T) T",
|
.signature = "@min(a: T, b: T) T",
|
||||||
.snippet = "@minimum(${1:a: T}, ${2:b: T})",
|
.snippet = "@min(${1:a: T}, ${2:b: T})",
|
||||||
.documentation =
|
.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.
|
\\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.
|
||||||
\\
|
\\
|
||||||
|
Loading…
Reference in New Issue
Block a user