code: public float angle() {
          float angle = (float) (2.0 * Math.acos(w));
          return (float) (angle <= Math.PI ? angle : Math.PI + Math.PI - angle);
      }
docs: /* (non-Javadoc)
  @see org.joml.Quaternionfc#angle()