-
Notifications
You must be signed in to change notification settings - Fork 90
cos
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Cos description: published: true date: 2023-03-16T23:05:39.995Z tags: editor: markdown dateCreated: 2023-03-16T22:21:51.233Z
The cos function returns the cosine of an input value.
(y: f)cos(x: f)
- x (float): The input value.
- y (float): The result of the cosine operation.
(y)cos(0.5f);
This example code calculates the cosine of 0.5 and stores the result in the variable y
.