asin.php
Table of Contents
Functions
- asin() : string
- Return the arcsine of a value.
Functions
asin()
Return the arcsine of a value.
asin(string|int|float $value) : string
This helper wraps the ArangoDB AQL function ASIN(value) which returns
the arcsine (inverse sine) of a value in radians. The value must be
between -1 and 1 (inclusive), otherwise it returns null.
Example AQL usage:
ASIN(0) // returns 0
ASIN(1) // returns 1.5707963267948966 (π/2)
ASIN(-1) // returns -1.5707963267948966 (-π/2)
ASIN(2) // returns null (out of range)
Parameters
- $value : string|int|float
-
The input value (must be between -1 and 1).
Tags
Return values
string —The formatted AQL expression.