Sha256: 8f8863aec7671bdf7f4186595e253b3ba26d603ad2fdd9609c1294f5c4e2dfcb
Contents?: true
Size: 340 Bytes
Versions: 106
Compression:
Stored size: 340 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 / 2 - asin($x); }
Version data entries
106 entries across 106 versions & 3 rubygems