Files
divkit/test_data/expression_test_data/function_signatures_trigonometry.json
T
4eb0da 7ffba7376a tan, asin, acos functions
commit_hash:4c38789b9d99c2dacd6686dd8cf97392e1d92b9d
2025-01-23 14:21:48 +03:00

142 lines
2.9 KiB
JSON

{
"signatures": [
{
"function_name": "pi",
"doc": "Returns value of the `π`: ratio of the circumference of a circle to its diameter",
"result_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"function_name": "toRadians",
"doc": "Converts the argument value from degrees to radians",
"arguments": [
{
"type": "number",
"doc": "Number value representing degrees."
}
],
"result_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"function_name": "toDegrees",
"doc": "Converts the argument value from radians to degrees",
"arguments": [
{
"type": "number",
"doc": "Number value representing radians."
}
],
"result_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"function_name": "sin",
"doc": "Calculates the sine of the given angle in radians",
"arguments": [
{
"type": "number",
"doc": "Angle in radians."
}
],
"result_type": "number",
"platforms": [
"android",
"ios",
"web",
"flutter"
]
},
{
"function_name": "cos",
"doc": "Calculates the cosine of the given angle in radians",
"arguments": [
{
"type": "number",
"doc": "Angle in radians."
}
],
"result_type": "number",
"platforms": [
"ios",
"web"
]
},
{
"function_name": "tan",
"doc": "Calculates the tangent of the given angle in radians",
"arguments": [
{
"type": "number",
"doc": "Angle in radians."
}
],
"result_type": "number",
"platforms": [
"ios",
"web"
]
},
{
"function_name": "asin",
"doc": "Calculates the angle in radians of the given sine value",
"arguments": [
{
"type": "number",
"doc": "Sine value."
}
],
"result_type": "number",
"platforms": [
"ios",
"web"
]
},
{
"function_name": "acos",
"doc": "Calculates the angle in radians of the given cosine value",
"arguments": [
{
"type": "number",
"doc": "Cosine value."
}
],
"result_type": "number",
"platforms": [
"ios",
"web"
]
},
{
"function_name": "atan",
"doc": "Calculates the angle in radians for a given tangent value",
"arguments": [
{
"type": "number",
"doc": "Tangent value."
}
],
"result_type": "number",
"platforms": [
"ios",
"web"
]
}
]
}