rsqrt(3M)rsqrt(3M)NAMErsqrt(), rsqrtf(), rsqrtl(), rsqrtw(), rsqrtq(), invsqrt(), invsqrtf(),
invsqrtl(), invsqrtw(), invsqrtq() - reciprocal square root functions
SYNOPSISDESCRIPTION
returns the reciprocal of the non-negative square root of x.
The expression is intended as a higher performance alternative to The
two expressions are comparably accurate, but do not compute exactly the
same value in every case. For example, can be just slightly greater
than 1, in rare cases.
is equivalent to It is provided in HP-UX to facilitate importing code
from other platforms.
and are versions of and they take a argument and returns a result.
and are a version of and they take a argument and returns a result.
and are an version of and they take an argument and returns an result.
On HP-UX systems, is equivalent to and is equivalent to
USAGE
To use these functions compile either with the default option or with
the and the options.
To use or compile also with the option.
To use any of these functions, make sure your program includes and link
in the math library by specifying on the compiler or linker command
line.
RETURN VALUE
If x and raises the divide-by-zero exception.
If x is +INFINITY, returns +0.
If x is NaN, returns NaN.
If x is less than zero, returns NaN and raises the invalid floating-
point exception.
raises the inexact exception whenever a rounded result does not equal
the mathematical result.
ERRORS
No errors are defined.
SEE ALSOsqrt(3M), math(5).
STANDARDS CONFORMANCE
These functions are not specified by any standard.
HP Integrity Server Only rsqrt(3M)