| ... | @@ -3215,7 +3215,7 @@ fn createFoo(param: i32) !Foo { | ... | @@ -3215,7 +3215,7 @@ fn createFoo(param: i32) !Foo { |
| 3215 | to increase their development pace. | 3215 | to increase their development pace. |
| 3216 | </p> | 3216 | </p> |
| 3217 | <p> | 3217 | <p> |
| 3218 | Error Return Traces are enabled by default in {#link|Debug#} and {#link|ReleaseSafe#} builds and disabled by default in {#link|ReleaseFast#} and {#link|ReleaseSmall#} builds. | 3218 | Error Return Traces are enabled by default in {#link|Debug#} builds and disabled by default in {#link|ReleaseFast#}, {#link|ReleaseSafe#} and {#link|ReleaseSmall#} builds. |
| 3219 | </p> | 3219 | </p> |
| 3220 | <p> | 3220 | <p> |
| 3221 | There are a few ways to activate this error return tracing feature: | 3221 | There are a few ways to activate this error return tracing feature: |
| ... | @@ -4840,7 +4840,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val | ... | @@ -4840,7 +4840,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 4840 | <p> | 4840 | <p> |
| 4841 | This builtin can be called from a {#link|comptime#} block to conditionally export symbols. | 4841 | This builtin can be called from a {#link|comptime#} block to conditionally export symbols. |
| 4842 | When <code>ptr</code> points to a function with the C calling convention and | 4842 | When <code>ptr</code> points to a function with the C calling convention and |
| 4843 | {#syntax#}options.linkage{#endsyntax#} is {#syntax#}.Strong{#endsyntax#}, this is equivalent to | 4843 | {#syntax#}options.linkage{#endsyntax#} is {#syntax#}.strong{#endsyntax#}, this is equivalent to |
| 4844 | the {#syntax#}export{#endsyntax#} keyword used on a function: | 4844 | the {#syntax#}export{#endsyntax#} keyword used on a function: |
| 4845 | </p> | 4845 | </p> |
| 4846 | {#code|export_builtin.zig#} | 4846 | {#code|export_builtin.zig#} |
| ... | @@ -5179,7 +5179,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val | ... | @@ -5179,7 +5179,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 5179 | <pre>{#syntax#}@mod(numerator: T, denominator: T) T{#endsyntax#}</pre> | 5179 | <pre>{#syntax#}@mod(numerator: T, denominator: T) T{#endsyntax#}</pre> |
| 5180 | <p> | 5180 | <p> |
| 5181 | Modulus division. For unsigned integers this is the same as | 5181 | Modulus division. For unsigned integers this is the same as |
| 5182 | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator > 0{#endsyntax#}, otherwise the | 5182 | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator != 0{#endsyntax#}, otherwise the |
| 5183 | operation will result in a {#link|Remainder Division by Zero#} when runtime safety checks are enabled. | 5183 | operation will result in a {#link|Remainder Division by Zero#} when runtime safety checks are enabled. |
| 5184 | </p> | 5184 | </p> |
| 5185 | <ul> | 5185 | <ul> |
| ... | @@ -5284,7 +5284,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val | ... | @@ -5284,7 +5284,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 5284 | <pre>{#syntax#}@rem(numerator: T, denominator: T) T{#endsyntax#}</pre> | 5284 | <pre>{#syntax#}@rem(numerator: T, denominator: T) T{#endsyntax#}</pre> |
| 5285 | <p> | 5285 | <p> |
| 5286 | Remainder division. For unsigned integers this is the same as | 5286 | Remainder division. For unsigned integers this is the same as |
| 5287 | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator > 0{#endsyntax#}, otherwise the | 5287 | {#syntax#}numerator % denominator{#endsyntax#}. Caller guarantees {#syntax#}denominator != 0{#endsyntax#}, otherwise the |
| 5288 | operation will result in a {#link|Remainder Division by Zero#} when runtime safety checks are enabled. | 5288 | operation will result in a {#link|Remainder Division by Zero#} when runtime safety checks are enabled. |
| 5289 | </p> | 5289 | </p> |
| 5290 | <ul> | 5290 | <ul> |