Skip to main content

Math functions

tan

Commentary

added in 0.0.33

Generates the trigonometric tangent of degrees. You can also use this function through an infix math expression.


Examples

Applying tangent

{
"_gen": "tan",
"degrees": 45
}
[
0.9999999999999999
]

Specification

JSON schema

{
"type": "object",
"properties": {
"degrees": {
"oneOf": [
{
"type": "number"
},
{
"type": "object",
"properties": {
"_gen": {
"type": "string"
}
},
"required": [
"_gen"
]
}
]
}
},
"required": [
"degrees"
]
}