W3cubDocs

/Rust

Function simd_fmax

pub const unsafe fn simd_fmax<T>(x: T, y: T) -> T
🔬This is a nightly-only experimental API. (core_intrinsics)

Returns the maximum of two vectors, elementwise.

T must be a vector of floating-point primitive types.

Follows IEEE-754 maxNum semantics.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/intrinsics/simd/fn.simd_fmax.html