Math
Endpoints for various math functions.
https://api.kyle.so/math/prime
GET /prime/:nResponse:
{
"isPrime": boolean,
"divisors": [
number, number
],
"message": string
}Constraints:
Errors:
/fibonacci
Response:
Constraints:
Errors:
/random-number
Response:
Constraints:
Errors:
/factorial
Response:
Constraints:
Errors:
/sqrt
Response:
Constraints:
Errors:
/abs
Response:
Constraints:
Errors:
/round
Response:
Constraints:
Errors:
/ceil
Response:
Constraints:
Errors:
/floor
Response:
Constraints:
Errors:
/sin
Response:
Constraints:
Errors:
/cos
Response:
Constraints:
Errors:
/tan
Response:
Constraints:
Errors:
/log
Response:
Constraints:
Errors:
/log10
Response:
Constraints:
Errors:
/log2
Response:
Constraints:
Errors:
/exp
Response:
Constraints:
Errors:
/pow
Response:
Constraints:
Errors:
Last updated