exslt-math:cos

Returns the cosine of the argument, expressed in radians.

cos($θ as xs:double) ➔ xs:double

Arguments

 

xs:double

The supplied angle, in radians

Result

xs:double

Namespace

http://exslt.org/math

Links to specifications

EXSLT Math Module

Notes on the Saxon implementation

Saxon also implements the function math:cos() in namespace http://www.w3.org/2005/xpath-functions/math.