From c62bf068e53e1a2b06c7f0195a4b25467b587b42 Mon Sep 17 00:00:00 2001
From: antlilja
{#syntax#}@fabs(value: anytype) @TypeOf(value){#endsyntax#}
+ {#header_open|@abs#}
+ {#syntax#}@abs(value: anytype) anytype{#endsyntax#}
- Returns the absolute value of a floating point number. Uses a dedicated hardware instruction + Returns the absolute value of an integer or a floating point number. Uses a dedicated hardware instruction when available. + + The return type is always an unsigned integer of the same bit width as the operand if the operand is an integer. + Unsigned integer operands are supported. The builtin cannot overflow for signed integer operands.
- Supports {#link|Floats#} and {#link|Vectors#} of floats. + Supports {#link|Floats#}, {#link|Integers#} and {#link|Vectors#} of floats or integers.
{#header_close#} {#header_open|@floor#}