# Floor

Computes a rounded towards minus infinity integer value for each vector element.

## Syntax

Fortran:

call vsfloor( n, a, y )

call vdfloor( n, a, y )

C:

vsFloor( n, a, y );

vdFloor( n, a, y );

## Input Parameters

Name | Type | Description
--- | --- | ---
n | FORTRAN: INTEGER, INTENT(IN) C: int | Specifies the number of elements to be calculated.
a | FORTRAN: REAL, INTENT(IN) for vsfloor DOUBLE PRECISION, INTENT(IN) for vdfloor C: const float* for vsFloor const double* for vdFloor | FORTRAN: Array, specifies the input vector a. C: Pointer to an array that contains the input vector a.

## Output Parameters

Name | Type | Description
--- | --- | ---
y | FORTRAN: REAL for vsfloor DOUBLE PRECISION for vdfloor C: float* for vsFloor double* for vdFloor | FORTRAN: Array, specifies the output vector y. C: Pointer to an array that contains the output vector y.

Parent topic: Rounding Functions