diff options
| author | Ali Chraghi <alichraghi@pm.me> | 2022-10-03 20:04:30 +0330 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-10-18 14:15:16 +0300 |
| commit | ca27055cdaa82fc26a8d9f8bf6a71de995adc539 (patch) | |
| tree | 8a8bf8a5f6848a2c7a55deeecf5a1257fa4ed794 /doc | |
| parent | edc842ff18e19d8c07cde1199f72903356fbf77f (diff) | |
| download | zig-ca27055cdaa82fc26a8d9f8bf6a71de995adc539.tar.gz zig-ca27055cdaa82fc26a8d9f8bf6a71de995adc539.zip | |
all: rename `@maximum` to `@max` and `@minimum` to `@min`
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index cb397eb446..34fc7681c7 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -8977,15 +8977,15 @@ test "integer cast panic" { </p> {#header_close#} - {#header_open|@maximum#} - <pre>{#syntax#}@maximum(a: T, b: T) T{#endsyntax#}</pre> + {#header_open|@max#} + <pre>{#syntax#}@max(a: T, b: T) T{#endsyntax#}</pre> <p> Returns the maximum value of {#syntax#}a{#endsyntax#} and {#syntax#}b{#endsyntax#}. This builtin accepts integers, floats, and vectors of either. In the latter case, the operation is performed element wise. </p> <p> NaNs are handled as follows: if one of the operands of a (pairwise) operation is NaN, the other operand is returned. If both operands are NaN, NaN is returned. </p> - {#see_also|@minimum|Vectors#} + {#see_also|@min|Vectors#} {#header_close#} {#header_open|@memcpy#} @@ -9025,15 +9025,15 @@ mem.copy(u8, dest[0..byte_count], source[0..byte_count]);{#endsyntax#}</pre> mem.set(u8, dest, c);{#endsyntax#}</pre> {#header_close#} - {#header_open|@minimum#} - <pre>{#syntax#}@minimum(a: T, b: T) T{#endsyntax#}</pre> + {#header_open|@min#} + <pre>{#syntax#}@min(a: T, b: T) T{#endsyntax#}</pre> <p> Returns the minimum value of {#syntax#}a{#endsyntax#} and {#syntax#}b{#endsyntax#}. This builtin accepts integers, floats, and vectors of either. In the latter case, the operation is performed element wise. </p> <p> NaNs are handled as follows: if one of the operands of a (pairwise) operation is NaN, the other operand is returned. If both operands are NaN, NaN is returned. </p> - {#see_also|@maximum|Vectors#} + {#see_also|@max|Vectors#} {#header_close#} {#header_open|@wasmMemorySize#} |
