Sha256: 234d70cff0ad7028208bfc608946c14ce6a993485f3b18679c7d913e1c2d2406
Contents?: true
Size: 327 Bytes
Versions: 31
Compression:
Stored size: 327 Bytes
Contents
// Returns the arccosine of a number. // @param {Number} $x A number between -1 and 1. // @example // acos(0.1) // 1.47063 // acos(-1) // 3.14159 @function acos ($x){ @if $x > 1 or $x < -1{ @warn "Argument for `acos()` must be a number between -1 and 1"; @return null; } @return $PI * .5 - asin($x); }
Version data entries
31 entries across 31 versions & 1 rubygems