## Linux and UNIX Man Pages

Test Your Knowledge in Computers #94
Difficulty: Easy
The mv command in Linux moves a file from one location to another, but only in the same directory.
True or False?

# asin(3) [freebsd man page]

```ASIN(3) 						   BSD Library Functions Manual 						   ASIN(3)

NAME
asin, asinf, asinl -- arc sine functions

LIBRARY
Math Library (libm, -lm)

SYNOPSIS
#include <math.h>

double
asin(double x);

float
asinf(float x);

long double
asinl(long double x);

DESCRIPTION
The asin(), asinf(), and asinl() functions compute the principal value of the arc sine of x.

RETURN VALUES
These functions return the arc sine in the range [-pi/2, +pi/2] radians.  If:

|x| > 1

asin(x) raises an invalid exception and returns an NaN.

acos(3), atan(3), atan2(3), cos(3), cosh(3), fenv(3), math(3), sin(3), sinh(3), tan(3), tanh(3)

STANDARDS
The asin(), asinf(), and asinl() functions conform to ISO/IEC 9899:1999 (``ISO C99'').

BSD								   July 31, 2008							       BSD```

## Check Out this Related Man Page

```ASIN(3) 						   BSD Library Functions Manual 						   ASIN(3)

NAME
asin -- arc sine function

SYNOPSIS
#include <math.h>

double
asin(double x);

long double
asinl(long double x);

float
asinf(float x);

DESCRIPTION
The asin() function computes the principal value of the arc sine of x.  The result is in the range [-pi/2, +pi/2].

SPECIAL VALUES
asin(+-0) returns +-0.

asin(x) returns a NAN and raises the "invalid" floating-point exception for |x| > 1.

VECTOR OPERATIONS
If you need to apply the asin() function to SIMD vectors or arrays, using the following functions provided by the Accelerate.framework may
give significantly better performance:

#include <Accelerate/Accelerate.h>

vFloat vasinf(vFloat x);
void vvasinf(float *y, const float *x, const int *n);
void vvasin(double *y, const double *x, const int *n);