Skip to content

Impl special functions for SIMD #14

Open
@programmerjake

Description

@programmerjake

Need all of:

  • div_euclid/rem_euclid
  • clamp
  • max/min
  • rotate_left/rotate_right
  • swap_bytes/reverse_bits
  • saturating_add/saturating_sub
  • saturating_neg/saturating_abs
  • saturating_mul
  • wrapping_add/wrapping_sub/wrapping_mul/wrapping_pow
  • wrapping_div/wrapping_rem/wrapping_div_euclid/wrapping_rem_euclid
  • wrapping_neg/wrapping_abs
  • overflowing_add/overflowing_sub
  • overflowing_mul
  • overflowing_div/overflowing_div_euclid
  • overflowing_rem/overflowing_rem_euclid
  • overflowing_neg/overflowing_abs
  • overflowing_shl/overflowing_shr
  • from_be/from_le/to_be/to_le
  • to_be_bytes/to_le_bytes/from_be_bytes/from_le_bytes
  • {to,from}_ne_bytes

for integers:

  • leading_zeros/trailing_zeros
  • leading_ones/trailing_ones
  • count_ones/count_zeros
  • pow
  • overflowing_pow
  • saturating_pow
  • wrapping_shl/wrapping_shr

for floats:

  • trig./hyperbolic functions: impl trig for core::simd #6
  • recip
  • mul_add
  • powi/powf
  • to_int_unchecked
  • to_degrees/to_radians
  • sqrt
  • cbrt
  • hypot
  • exp/exp2/ln/log/log2/log10
  • exp_m1/ln_1p

for signed integers and floats:

  • abs
  • signum
  • copysign
  • is_positive/is_negative

See also #109

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-floating-pointArea: Floating point numbers and arithmeticC-feature-requestCategory: a feature request, i.e. not implemented / a PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions