Returns the value with lesser magnitude.
Required. Default implementation provided.
- Xcode 10.0+
- Swift Standard Library
A floating-point value.
Another floating-point value.
y has lesser magnitude, or whichever is a number if the other is NaN.
This method returns the value with lesser magnitude of the two given values, preserving order and eliminating NaN when possible. For two values
y, the result of
y, or whichever of
y is a number if the other is a quiet NaN. If both
y are NaN, or either
y is a signaling NaN, the result is NaN.
minimum method implements the
min operation defined by the IEEE 754 specification.