zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 666ae24816541e80e3cf9f5d4d73dcce7c4481de (tree)
parent 38fc826a5a82bbe11a893be11d3cc1439c477ee8
Author: jcalabro <jamesrcalabro@gmail.com>
Date:   Tue, 13 Jun 2023 16:37:26 -0400

Clarify @sin, @cos, @tan use radians

Diffstat:
Mdoc/langref.html.in | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -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>