| ... | ... | @@ -9421,14 +9421,17 @@ fn doTheTest() !void { |
| 9421 | 9421 | Supports {#link|Floats#} and {#link|Vectors#} of floats. |
| 9422 | 9422 | </p> |
| 9423 | 9423 | {#header_close#} |
| 9424 | | {#header_open|@fabs#} |
| 9425 | | <pre>{#syntax#}@fabs(value: anytype) @TypeOf(value){#endsyntax#}</pre> |
| 9424 | {#header_open|@abs#} |
| 9425 | <pre>{#syntax#}@abs(value: anytype) anytype{#endsyntax#}</pre> |
| 9426 | 9426 | <p> |
| 9427 | | Returns the absolute value of a floating point number. Uses a dedicated hardware instruction |
| 9427 | Returns the absolute value of an integer or a floating point number. Uses a dedicated hardware instruction |
| 9428 | 9428 | when available. |
| 9429 | |
| 9430 | The return type is always an unsigned integer of the same bit width as the operand if the operand is an integer. |
| 9431 | Unsigned integer operands are supported. The builtin cannot overflow for signed integer operands. |
| 9429 | 9432 | </p> |
| 9430 | 9433 | <p> |
| 9431 | | Supports {#link|Floats#} and {#link|Vectors#} of floats. |
| 9434 | Supports {#link|Floats#}, {#link|Integers#} and {#link|Vectors#} of floats or integers. |
| 9432 | 9435 | </p> |
| 9433 | 9436 | {#header_close#} |
| 9434 | 9437 | {#header_open|@floor#} |