Sha256: cb4f802b9943dc901441095f64cbc1b72d8ff8c2d2f146bde30f449de3825239
Contents?: true
Size: 269 Bytes
Versions: 106
Compression:
Stored size: 269 Bytes
Contents
// Returns the cotangent of a number. // @param {Number} $x A number in rad or deg. Assuming unitless number to be in rad. // @example // cot(0.5236) // 1.73205 // cot(30deg) // 1.73205 @function cot ($x) { $x: unitless-rad($x); @return 1 / tan($x); }
Version data entries
106 entries across 106 versions & 3 rubygems