Sha256: eccb5dc75b4df7d8d1142314da2954e8fb18c0e5e0ece0291a708b811cd7f8bc
Contents?: true
Size: 297 Bytes
Versions: 31
Compression:
Stored size: 297 Bytes
Contents
// Returns the tangent of a number. // @param {Number} $x A number in rad or deg. Assuming unitless number to be in rad. // @example // tan(0.5236) // 0.57735 // tan(30deg) // 0.57735 @use "sass:math"; @function tan ($x){ $x: unitless-rad($x); @return math.div(sin($x), cos($x)); }
Version data entries
31 entries across 31 versions & 1 rubygems