diff --git a/doc/langref.html.in b/doc/langref.html.in index 65e27821ee..4bd594c113 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -7354,91 +7354,91 @@ test "@setRuntimeSafety" {
{#syntax#}@sqrt(comptime T: type, value: T) T{#endsyntax#}
Performs the square root of a floating point number. Uses a dedicated hardware instruction - when available. Supports f16, f32, f64, and f128, as well as vectors. + when available. Supports {#syntax#}f16{#endsyntax#}, {#syntax#}f32{#endsyntax#}, {#syntax#}f64{#endsyntax#}, and {#syntax#}f128{#endsyntax#}, as well as vectors.
{#header_close#} {#header_open|@sin#}{#syntax#}@sin(comptime T: type, value: T) T{#endsyntax#}
Sine trigometric function on a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@cos#}{#syntax#}@cos(comptime T: type, value: T) T{#endsyntax#}
Cosine trigometric function on a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@exp#}{#syntax#}@exp(comptime T: type, value: T) T{#endsyntax#}
Base-e exponential function on a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@exp2#}{#syntax#}@exp2(comptime T: type, value: T) T{#endsyntax#}
Base-2 exponential function on a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@ln#}{#syntax#}@ln(comptime T: type, value: T) T{#endsyntax#}
Returns the natural logarithm of a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@log2#}{#syntax#}@log2(comptime T: type, value: T) T{#endsyntax#}
Returns the logarithm to the base 2 of a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@log10#}{#syntax#}@log10(comptime T: type, value: T) T{#endsyntax#}
Returns the logarithm to the base 10 of a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@fabs#}{#syntax#}@fabs(comptime T: type, value: T) T{#endsyntax#}
Returns the absolute value of a floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@floor#}{#syntax#}@floor(comptime T: type, value: T) T{#endsyntax#}
Returns the largest integral value not greater than the given floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@ceil#}{#syntax#}@ceil(comptime T: type, value: T) T{#endsyntax#}
Returns the largest integral value not less than the given floating point number. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@trunc#}{#syntax#}@trunc(comptime T: type, value: T) T{#endsyntax#}
Rounds the given floating point number to an integer, towards zero. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#} {#header_open|@round#}{#syntax#}@round(comptime T: type, value: T) T{#endsyntax#}
Rounds the given floating point number to an integer, away from zero. Uses a dedicated hardware instruction - when available. Currently supports f32 and f64. + when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
{#header_close#}