Skip to content

Commit 8156a61

Browse files
emekoiandrewrk
authored andcommitted
fix syntax highlighting
1 parent 7a2b0cc commit 8156a61

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/langref.html.in

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7354,91 +7354,91 @@ test "@setRuntimeSafety" {
73547354
<pre>{#syntax#}@sqrt(comptime T: type, value: T) T{#endsyntax#}</pre>
73557355
<p>
73567356
Performs the square root of a floating point number. Uses a dedicated hardware instruction
7357-
when available. Supports f16, f32, f64, and f128, as well as vectors.
7357+
when available. Supports {#syntax#}f16{#endsyntax#}, {#syntax#}f32{#endsyntax#}, {#syntax#}f64{#endsyntax#}, and {#syntax#}f128{#endsyntax#}, as well as vectors.
73587358
</p>
73597359
{#header_close#}
73607360
{#header_open|@sin#}
73617361
<pre>{#syntax#}@sin(comptime T: type, value: T) T{#endsyntax#}</pre>
73627362
<p>
73637363
Sine trigometric function on a floating point number. Uses a dedicated hardware instruction
7364-
when available. Currently supports f32 and f64.
7364+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
73657365
</p>
73667366
{#header_close#}
73677367
{#header_open|@cos#}
73687368
<pre>{#syntax#}@cos(comptime T: type, value: T) T{#endsyntax#}</pre>
73697369
<p>
73707370
Cosine trigometric function on a floating point number. Uses a dedicated hardware instruction
7371-
when available. Currently supports f32 and f64.
7371+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
73727372
</p>
73737373
{#header_close#}
73747374
{#header_open|@exp#}
73757375
<pre>{#syntax#}@exp(comptime T: type, value: T) T{#endsyntax#}</pre>
73767376
<p>
73777377
Base-e exponential function on a floating point number. Uses a dedicated hardware instruction
7378-
when available. Currently supports f32 and f64.
7378+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
73797379
</p>
73807380
{#header_close#}
73817381
{#header_open|@exp2#}
73827382
<pre>{#syntax#}@exp2(comptime T: type, value: T) T{#endsyntax#}</pre>
73837383
<p>
73847384
Base-2 exponential function on a floating point number. Uses a dedicated hardware instruction
7385-
when available. Currently supports f32 and f64.
7385+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
73867386
</p>
73877387
{#header_close#}
73887388
{#header_open|@ln#}
73897389
<pre>{#syntax#}@ln(comptime T: type, value: T) T{#endsyntax#}</pre>
73907390
<p>
73917391
Returns the natural logarithm of a floating point number. Uses a dedicated hardware instruction
7392-
when available. Currently supports f32 and f64.
7392+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
73937393
</p>
73947394
{#header_close#}
73957395
{#header_open|@log2#}
73967396
<pre>{#syntax#}@log2(comptime T: type, value: T) T{#endsyntax#}</pre>
73977397
<p>
73987398
Returns the logarithm to the base 2 of a floating point number. Uses a dedicated hardware instruction
7399-
when available. Currently supports f32 and f64.
7399+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
74007400
</p>
74017401
{#header_close#}
74027402
{#header_open|@log10#}
74037403
<pre>{#syntax#}@log10(comptime T: type, value: T) T{#endsyntax#}</pre>
74047404
<p>
74057405
Returns the logarithm to the base 10 of a floating point number. Uses a dedicated hardware instruction
7406-
when available. Currently supports f32 and f64.
7406+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
74077407
</p>
74087408
{#header_close#}
74097409
{#header_open|@fabs#}
74107410
<pre>{#syntax#}@fabs(comptime T: type, value: T) T{#endsyntax#}</pre>
74117411
<p>
74127412
Returns the absolute value of a floating point number. Uses a dedicated hardware instruction
7413-
when available. Currently supports f32 and f64.
7413+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
74147414
</p>
74157415
{#header_close#}
74167416
{#header_open|@floor#}
74177417
<pre>{#syntax#}@floor(comptime T: type, value: T) T{#endsyntax#}</pre>
74187418
<p>
74197419
Returns the largest integral value not greater than the given floating point number. Uses a dedicated hardware instruction
7420-
when available. Currently supports f32 and f64.
7420+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
74217421
</p>
74227422
{#header_close#}
74237423
{#header_open|@ceil#}
74247424
<pre>{#syntax#}@ceil(comptime T: type, value: T) T{#endsyntax#}</pre>
74257425
<p>
74267426
Returns the largest integral value not less than the given floating point number. Uses a dedicated hardware instruction
7427-
when available. Currently supports f32 and f64.
7427+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
74287428
</p>
74297429
{#header_close#}
74307430
{#header_open|@trunc#}
74317431
<pre>{#syntax#}@trunc(comptime T: type, value: T) T{#endsyntax#}</pre>
74327432
<p>
74337433
Rounds the given floating point number to an integer, towards zero. Uses a dedicated hardware instruction
7434-
when available. Currently supports f32 and f64.
7434+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
74357435
</p>
74367436
{#header_close#}
74377437
{#header_open|@round#}
74387438
<pre>{#syntax#}@round(comptime T: type, value: T) T{#endsyntax#}</pre>
74397439
<p>
74407440
Rounds the given floating point number to an integer, away from zero. Uses a dedicated hardware instruction
7441-
when available. Currently supports f32 and f64.
7441+
when available. Currently supports {#syntax#}f32{#endsyntax#} and {#syntax#}f64{#endsyntax#}.
74427442
</p>
74437443
{#header_close#}
74447444

0 commit comments

Comments
 (0)