Sha256: 89c58fdc3a082c18d7362ff47e63c898f9a48dad0bdaf0de34a59200c3ae48c5
Contents?: true
Size: 290 Bytes
Versions: 31
Compression:
Stored size: 290 Bytes
Contents
// Returns the secant of a number. // @param {Number} $x A number in rad or deg. Assuming unitless number to be in rad. // @example // sec(0.7854) // 1.41422 // sec(45deg) // 1.41422 @use "sass:math"; @function sec ($x){ $x: unitless-rad($x); @return math.div(1, cos($x)); }
Version data entries
31 entries across 31 versions & 1 rubygems