vvnextafter(_:_:_:_:)
Calculates the next machine-representable value for each element in an array of double-precision values.
Declaration
func vvnextafter(_: UnsafeMutablePointer<Double>, _: UnsafePointer<Double>, _: UnsafePointer<Double>, _: UnsafePointer<Int32>)Discussion
Parameters:
- parameter 1
The output array, z.
- parameter 2
The input array, y.
- parameter 3
The direction array, x.
- parameter 4
The number of elements in the arrays.
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]).