Last updated 2 months ago
SQL Server
Azure Synapse Analytics
Function that returns the arctangent of a specified number ().
Math.atan( expression )
expression: Numeric expression.
expression
Numeric expression between −π2-\frac{\pi}{2}−2π​ and π2\frac{\pi}{2}2π​.
CREATE OR REPLACE FUNCTION compute_atan(a float) RETURNS float LANGUAGE JAVASCRIPT AS $$ return Math.atan(A); $$ ; SELECT COMPUTE_ATAN(-30);
COMPUTE_ATAN(-30)| -----------------+ -1.537475331|
No issues were found.
No related EWIs.