mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Clarify @sin, @cos, @tan use radians
This commit is contained in:
parent
38fc826a5a
commit
666ae24816
1 changed files with 3 additions and 3 deletions
|
|
@ -9273,7 +9273,7 @@ fn doTheTest() !void {
|
|||
{#header_open|@sin#}
|
||||
<pre>{#syntax#}@sin(value: anytype) @TypeOf(value){#endsyntax#}</pre>
|
||||
<p>
|
||||
Sine trigonometric function on a floating point number. Uses a dedicated hardware instruction
|
||||
Sine trigonometric function on a floating point number in radians. Uses a dedicated hardware instruction
|
||||
when available.
|
||||
</p>
|
||||
<p>
|
||||
|
|
@ -9284,7 +9284,7 @@ fn doTheTest() !void {
|
|||
{#header_open|@cos#}
|
||||
<pre>{#syntax#}@cos(value: anytype) @TypeOf(value){#endsyntax#}</pre>
|
||||
<p>
|
||||
Cosine trigonometric function on a floating point number. Uses a dedicated hardware instruction
|
||||
Cosine trigonometric function on a floating point number in radians. Uses a dedicated hardware instruction
|
||||
when available.
|
||||
</p>
|
||||
<p>
|
||||
|
|
@ -9295,7 +9295,7 @@ fn doTheTest() !void {
|
|||
{#header_open|@tan#}
|
||||
<pre>{#syntax#}@tan(value: anytype) @TypeOf(value){#endsyntax#}</pre>
|
||||
<p>
|
||||
Tangent trigonometric function on a floating point number.
|
||||
Tangent trigonometric function on a floating point number in radians.
|
||||
Uses a dedicated hardware instruction when available.
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue