fasinh static method

double fasinh(
  1. double x
)

Implementation

static double fasinh( double x ){
	if( x > _eps5 ){
		return ClipMath.log( ClipMath.sqrt( x * x + 1.0 ) + x );
	}
	if( x < -_eps5 ){
		return -ClipMath.log( ClipMath.sqrt( x * x + 1.0 ) - x );
	}
	return x * (1.0 - x * x / 6.0);
}