Function

# vvnextafterf

Calculates the next machine-representable value for each element in an array of single-precision values.

## Parameters

`parameter 1`

The output array, z.

`parameter 2`

The input array, y.

`parameter 3`

The direction array, x.

`parameter 4a`

The number of elements in the arrays.

## Discussion

Not all values can be represented as a floating-point value of a given precision. This function sets a value in `z[i]` that is either minimally larger than the value in `y[i]` (if `x[i]` is larger than `y[i]`) or minimally smaller than the value in `y[i]` (if `x[i]` is smaller than `y[i]`).

### Array-Oriented Arithmetic and Auxiliary Functions

`vvceil`

Calculates the ceiling of each element in an array of double-precision values.

`vvceilf`

Calculates the ceiling of each element in an array of single-precision values.

`vvfloor`

Calculates the floor of each element in an array of double-precision values.

`vvfloorf`

Calculates the floor of each element in an array of single-precision values.

`vvcopysign`

Copies an array, setting the sign of each element based on a second array of double-precision values.

`vvcopysignf`

Copies an array, setting the sign of each element based on a second array of single-precision values.

`vvdiv`

Divides each element in an array by the corresponding value in a second array of double-precision values.

`vvdivf`

Divides each element in an array by the corresponding value in a second array of single-precision values.

`vvfabs`

Calculates the absolute value for each element in an array of double-precision values.

`vvfabsf`

Calculates the absolute value for each element in an array of single-precision values.

`vvfmod`

Calculates the modulus after dividing each element in an array by the corresponding element in a second array of double-precision values.

`vvfmodf`

Calculates the modulus after dividing each element in an array by the corresponding element in a second array of single-precision values.

`vvremainder`

Calculates the remainder after dividing each element in an array by the corresponding element in a second array of double-precision values.

`vvremainderf`

Calculates the remainder after dividing each element in an array by the corresponding element in a second array of single-precision values.

`vvint`

Calculates the integer truncation for each element in an array of double-precision values.

`vvintf`

Calculates the integer truncation for each element in an array of single-precision values.

`vvnint`

Calculates the nearest integer for each element in an array of double-precision values.

`vvnintf`

Calculates the nearest integer for each element in an array of single-precision values.

`vvrsqrt`

Calculates the reciprocal square root of each element in an array of double-precision values.

`vvrsqrtf`

Calculates the reciprocal square root of each element in an array of single-precision values.

`vvsqrt`

Calculates the square root of each element in an array of double-precision values.

`vvsqrtf`

Calculates the square root of each element in an array of single-precision values.

`vvrec`

Calculates the reciprocal of each element in an array of double-precision values.

`vvrecf`

Calculates the reciprocal of each element in an array of single-precision values.

`vvnextafter`

Calculates the next machine-representable value for each element in an array of double-precision values.