@function pow($base, $exponent)
$result: 1
@for $_ from 1 through $exponent
$result: $result * $base
@return $result
@function sqrt($r)
$x0: 1
$x1: $x0
@for $i from 1 through 10
$x1: $x0 - ($x0 * $x0 - abs($r)) / (2 * $x0)
$x0: $x1
@return $x1