Skip to content

0. Numerics

No due date 83% complete

First stabilization milestone, stable numerics. Following semver rules after that for numerics and their public dependencies and related concepts.

  • i8, i16, i32, i64, isize
  • u8, u16, u32, u64, usize, uptr
  • f32, f64
  • FpCategory
  • Eq, Ord, WeakOrd, PartialOrd
  • Transmogrify for conversions with each other and with/between primitives (safer than static_cast!)
  • Integ…

First stabilization milestone, stable numerics. Following semver rules after that for numerics and their public dependencies and related concepts.

  • i8, i16, i32, i64, isize
  • u8, u16, u32, u64, usize, uptr
  • f32, f64
  • FpCategory
  • Eq, Ord, WeakOrd, PartialOrd
  • Transmogrify for conversions with each other and with/between primitives (safer than static_cast!)
  • Integer, Unsigned, Signed, UnsignedPrimitiveInteger, SignedPrimitiveInteger, PrimitiveInteger, Float, PrimitiveFloat
  • Neg, BitAnd, Add, AddAssign, Sub, Mul, ... etc from num/num_concepts.h
  • Option
  • Result
  • panic
  • unsafe_fn
  • Clone, Copy, Move concepts. clone(), move(), forward().
  • Fn, FnMut, FnOnce

Some Option methods are unstable then still due to below:

  • iter(), iter_mut(), into_iter(), from_iter() (re: Iterators)
  • zip(), unzip() (re: Tuple)

Explicitly not included though:

  • Iterators: https://github.com/chromium/subspace/milestone/2
  • FromIterator, same deal.
  • DynFn which can be its own milestone (along with Box?)
  • mem::replace and friends. These are impl details for now.
  • mem::relocate and friends. These are impl details for now.
  • mem::take and friends. These are impl details for now.
  • Tuple: Still baking.
  • NeverValueField. Impl detail of Option for now.
Loading