diff --git a/docs/kcl/cos.md b/docs/kcl/cos.md index 42c52f11b..502a20f49 100644 --- a/docs/kcl/cos.md +++ b/docs/kcl/cos.md @@ -1,10 +1,10 @@ --- title: "cos" -excerpt: "Computes the sine of a number (in radians)." +excerpt: "Computes the cosine of a number (in radians)." layout: manual --- -Computes the sine of a number (in radians). +Computes the cosine of a number (in radians). diff --git a/docs/kcl/std.json b/docs/kcl/std.json index d3efab25f..e3b774ab3 100644 --- a/docs/kcl/std.json +++ b/docs/kcl/std.json @@ -22386,7 +22386,7 @@ }, { "name": "cos", - "summary": "Computes the sine of a number (in radians).", + "summary": "Computes the cosine of a number (in radians).", "description": "", "tags": [ "math" diff --git a/src/wasm-lib/kcl/src/std/math.rs b/src/wasm-lib/kcl/src/std/math.rs index 4514aef11..478d26df5 100644 --- a/src/wasm-lib/kcl/src/std/math.rs +++ b/src/wasm-lib/kcl/src/std/math.rs @@ -18,7 +18,7 @@ pub async fn cos(args: Args) -> Result { args.make_user_val_from_f64(result) } -/// Computes the sine of a number (in radians). +/// Computes the cosine of a number (in radians). /// /// ```no_run /// const anotherVar = cos(2*pi())