Skip Navigation
Global Nav Open Menu
Global Nav Close Menu
Apple Developer
Search Developer
Cancel
Apple Developer
Discover
Design
Develop
Distribute
Support
Account
Documentation
Open Menu
Close Menu
Swift
Swift Standard Library
Numbers and Basic Values
SIMD Vector Types
⋯
Swift
Swift Standard Library
Numbers and Basic Values
SIMD Vector Types
SIMD64
max()
Language:
Swift
API Changes:
None
Instance Method
max()
The greatest element in the vector.
SDK
Xcode 11.0+
Framework
Swift Standard Library
Declaration
func
max
() -> Scalar
Available when
Scalar
conforms to
Comparable
.