core
1.87.0-beta.4
(a5948295b 2025-04-12)
In core::
arch::
s390x
Structs
vector_bool_char
vector_bool_int
vector_bool_long_long
vector_bool_short
vector_double
vector_float
vector_signed_char
vector_signed_int
vector_signed_long_long
vector_signed_short
vector_unsigned_char
vector_unsigned_int
vector_unsigned_long_long
vector_unsigned_short
Functions
vec_abs
vec_add
vec_and
vec_andc
vec_ceil
vec_cntlz
vec_cnttz
vec_eqv
vec_find_any_eq
vec_find_any_eq_cc
vec_find_any_eq_idx
vec_find_any_eq_idx_cc
vec_find_any_eq_or_0_idx
vec_find_any_eq_or_0_idx_cc
vec_find_any_ne
vec_find_any_ne_cc
vec_find_any_ne_idx
vec_find_any_ne_idx_cc
vec_find_any_ne_or_0_idx
vec_find_any_ne_or_0_idx_cc
vec_floor
vec_genmask
vec_genmasks_16
vec_genmasks_32
vec_genmasks_64
vec_genmasks_8
vec_max
vec_mergeh
vec_mergel
vec_min
vec_mul
vec_nabs
vec_nand
vec_nor
vec_or
vec_orc
vec_perm
vec_popcnt
vec_revb
vec_reve
vec_rint
vec_rl
vec_rli
vec_round
vec_roundc
vec_roundm
vec_roundp
vec_roundz
vec_sl
vec_slb
vec_sll
vec_splat
vec_splat_i16
vec_splat_i32
vec_splat_i64
vec_splat_i8
vec_splat_u16
vec_splat_u32
vec_splat_u64
vec_splat_u8
vec_splats
vec_sqrt
vec_sr
vec_sra
vec_srab
vec_sral
vec_srb
vec_srl
vec_sub
vec_sub_u128
vec_subc
vec_subc_u128
vec_sube_u128
vec_subec_u128
vec_sum2
vec_sum4
vec_sum_u128
vec_trunc
vec_xor
core
::
arch
::
s390x
Function
vec_abs
Copy item path
Settings
Help
Summary
Source
pub unsafe fn vec_abs<T>(a: T) -> T
where T: VectorAbs,
🔬
This is a nightly-only experimental API. (
stdarch_s390x
#135681
)
Available on
s390x and target feature
vector
only.
Expand description
Vector abs.