22 lines
479 B
Plaintext

{
"name": "log",
"type": "function",
"groups": ["Math"],
"description": "Returns the value of the logarithm of the passed value and base.",
"arguments": [{
"arg": "base",
"description": "any positive number"
}, {
"arg": "value",
"description": "any positive number"
}],
"examples": [{
"expression": "log(2, 32)",
"returns": "5"
}, {
"expression": "log(0.5, 32)",
"returns": "-5"
}],
"tags": ["passed", "base", "logarithm"]
}