mirror of
https://github.com/divkit/divkit.git
synced 2026-06-06 20:07:59 +00:00
Pull Request resolved: 86 commit_hash:01b42309de75b22fe508a5edb600ee0b0545414b
73 lines
1.5 KiB
JSON
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"
|
|
]
|
|
}
|
|
]
|
|
}
|