about summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2021-07-26Document math behind MIN/MAX consts on integersSmitty-12/+15
2021-07-17Auto merge of #86761 - Alexhuszagh:master, r=estebankbors-2396/+2146
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-2396/+2146
2021-07-15Make wrapping_neg() use wrapping_sub(), #[inline(always)]Hans Kratz-4/+4
2021-07-07special case for integer log10Trevor Spiteri-3/+144
2021-07-07Rollup merge of #80918 - yoshuawuyts:int-log2, r=m-ou-seYuki Okushi-0/+376
2021-07-04Auto merge of #86048 - nbdd0121:no_floating_point, r=Amanieubors-101/+115
2021-07-02core: add unstable `no_fp_fmt_parse` to disable float fmt/parse codeGary Guo-0/+5
2021-06-25Add Integer::{log,log2,log10} variantsYoshua Wuyts-0/+376
2021-06-23Use HTTPS links where possibleSmitty-4/+4
2021-06-22Auto merge of #84910 - eopb:stabilize_int_error_matching, r=yaahcbors-21/+9
2021-06-22postpone stabilizaton by one releaseEthan Brierley-8/+8
2021-06-19Automatic exponential formatting in DebugMichael Lamparski-2/+2
2021-06-17Fix comment about rustc_inherit_overflow_checks in abs().Mara Bos-3/+3
2021-06-14stabilize `int_error_matching`Ethan Brierley-21/+9
2021-06-12Stop relying on #[feature(try_trait)] in doctests.Iago-lito-45/+45
2021-06-09Fix diverging doc regarding signedness.Iago-lito-18/+44
2021-06-09Explicit what `check` means on concerned method.Iago-lito-9/+20
2021-06-09NonZero saturating_pow.Iago-lito-0/+29
2021-06-09NonZero checked_pow.Iago-lito-0/+33
2021-06-09NonZero unchecked_mul.Iago-lito-0/+28
2021-06-09NonZero saturating_mul.Iago-lito-0/+30
2021-06-09NonZero checked_mul.Iago-lito-0/+58
2021-06-09NonZero unsigned_abs.Iago-lito-0/+33
2021-06-09NonZero wrapping_abs.Iago-lito-0/+33
2021-06-09NonZero saturating_abs.Iago-lito-0/+34
2021-06-09NonZero overflowing_abs.Iago-lito-0/+34
2021-06-09NonZero checked_abs.Iago-lito-0/+33
2021-06-09NonZero abs.Iago-lito-0/+45
2021-06-09NonZero checked_next_power_of_two.Iago-lito-0/+36
2021-06-09NonZero unchecked_add.Iago-lito-0/+28
2021-06-09NonZero saturating_add.Iago-lito-0/+29
2021-06-09NonZero checked_add.Iago-lito-0/+51
2021-06-06Move `flt2dec::{Formatted, Part}` to dedicated moduleGary Guo-101/+110
2021-06-01Intra doc link-ify a reference to a functionest31-4/+4
2021-05-28Add inherent unchecked_shl, unchecked_shr to integersltdk-12/+154
2021-05-25Remove num_as_ne_bytes featureHoe Hao Cheng-118/+0
2021-05-11add BITS associated constant to core::num::WrappingTrevor Spiteri-0/+15
2021-05-09Make unchecked_{add,sub,mul} inherent methods unstably constltdk-12/+18
2021-05-02[clippy] remove redundant field nameswcampbell-2/+2
2021-04-25Fix 'const-stable since' of reverse_bitsPaolo Barbolini-2/+2
2021-04-21Rollup merge of #84251 - RalfJung:non-zero-const-since, r=kennytmMara Bos-14/+14
2021-04-17Auto merge of #84061 - AngelicosPhosphoros:issue-75598-add-inline-always-arit...bors-68/+68
2021-04-16fix 'const-stable since' for NonZeroU*::new_uncheckedRalf Jung-14/+14
2021-04-13Auto merge of #84086 - m-ou-se:stabilze-is-subnormal, r=dtolnaybors-4/+2
2021-04-11Add some #[inline(always)] to arithmetic methods of integersAngelicosPhosphoros-68/+68
2021-04-11Stabilize nonzero_leading_trailing_zerosAndreas Jonson-6/+4
2021-04-11Stabilize is_subnormal.Mara Bos-4/+2
2021-03-28Add escape_default method to u8 and [u8]ltdk-0/+26
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-2/+4