Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 10/31/2024
Public
Document Table of Contents

v?Asinpi

Computes the inverse sine of vector elements divided by π.

Syntax

vhAsinpi (n, a, y);

vhAsinpiI(n, a, inca, y, incy);

vmhAsinpi (n, a, y, mode);

vmhAsinpiI(n, a, inca, y, incy, mode);

vsAsinpi (n, a, y);

vsAsinpiI(n, a, inca, y, incy);

vmsAsinpi (n, a, y, mode);

vmsAsinpiI(n, a, inca, y, incy, mode);

vdAsinpi (n, a, y);

vdAsinpiI(n, a, inca, y, incy);

vmdAsinpi (n, a, y, mode);

vmdAsinpiI(n, a, inca, y, incy, mode);

Include Files

  • mkl.h

Input Parameters

Name

Type

Description

n

const MKL_INT

Specifies the number of elements to be calculated.

a

const _Float16* for vhAsinpi

const float* for vsAsinpi

const _Float16* for vmhAsinpi

const float* for vmsAsinpi

const double* for vdAsinpi

const double* for vmdAsinpi

Pointer to the array containing the input vector a.

inca, incy

const MKL_INT

Specifies increments for the elements of a and y.

mode

const MKL_INT64

Overrides the global VM mode setting for this function call. See vmlSetMode for possible values and their description.

Output Parameters

Name

Type

Description

y

_Float16* for vhAsinpi

float* for vsAsinpi

_Float16* for vmhAsinpi

float* for vmsAsinpi

double* for vdAsinpi

double* for vmdAsinpi

Pointer to an array containing the output vector y.

Description

The v?Asinpi function computes the inverse sine of vector elements divided by π. For an argument x, the function computes asin(x)/π.

Special values for Real Function v?Asinpi(x)
Argument Result VM Error Status Exception
+0 +0    
-0 -0    
+1 +1/2    
-1 -1/2    
|x| > 1 QNAN VML_STATUS_ERRDOM INVALID
+ QNAN VML_STATUS_ERRDOM INVALID
- QNAN VML_STATUS_ERRDOM INVALID
QNAN QNAN    
SNAN QNAN   INVALID

See Also