Files
divkit/test_data/expression_test_data/function_signatures_trigonometry.json
T
Vladislav Vrublevsky c90edc2e0a Added cos function
Pull Request resolved: 86
commit_hash:01b42309de75b22fe508a5edb600ee0b0545414b
2024-12-17 20:46:26 +03:00

73 lines
1.5 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"
]
},
{
"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"
]
},
{
"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"
]
},
{
"function_name": "sin",
"doc": "Calculates the sine of an argument represented in radians",
"arguments": [
{
"type": "number",
"doc": "Number value."
}
],
"result_type": "number",
"platforms": [
"android",
"ios"
]
},
{
"function_name": "cos",
"doc": "Calculates the cos of an argument represented in radians",
"arguments": [
{
"type": "number",
"doc": "Number value representing radians."
}
],
"result_type": "number",
"platforms": [
"ios"
]
}
]
}