havFromSin static method

num havFromSin(
  1. num x
)

Implementation

static num havFromSin(num x) {
  num x2 = x * x;
  return x2 / (1 + sqrt(1 - x2)) * .5;
}