ACOS
Important Notice: Migration of Documentation Website
Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:
Official Snowflake Snowconvert Documentation
For any immediate assistance or if you encounter any issues, please contact our support team at [email protected].
Thank you for your understanding.
Description
Function that returns the arccosine in radians of the number sent as a parameter (ACOS in Transact-SQL).
Mathematically, the arccosine is the inverse function of the cosine, resulting in the following definition: y=cos−1⇔x=cos(y)
For y=cos−1(x): - Range: 0⩽y⩽π or 0∘⩽y⩽180∘ - Domain: −1⩽x⩽1
Sample Source Pattern
Syntax
Arguments
expression: Numeric float expression, where expression is in[−1,1].
Return Type
Numeric float expression between 0 and π. If the numeric expression sent by parameter is out of the domain [−1,1], the database engine throws an error.
Examples
Known Issues
No issues were found.
Related EWIs
No related EWIs.
Last updated
