about summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2023-11-01Rollup merge of #115626 - clarfonthey:unchecked-math, r=thomccMatthias Krüger-18/+43
2023-10-26Refactor some `char`, `u8` ascii functions to be branchlessokaneco-3/+6
2023-10-23fix typos in commentsGoodDaisy-1/+1
2023-10-14Auto merge of #116407 - Mark-Simulacrum:bootstrap-bump, r=onur-ozkanbors-88/+86
2023-10-13Clean up unchecked_math, separate out unchecked_shiftsltdk-18/+43
2023-10-08Bump to latest betaMark Rousskov-3/+1
2023-10-05Auto merge of #114042 - liushuyu:ubuntu/i586-fpmath, r=workingjubileebors-1/+1
2023-10-05Auto merge of #104153 - tspiteri:doc-float-constants, r=workingjubileebors-4/+80
2023-10-03Bump version placeholdersMark Rousskov-86/+86
2023-09-29Auto merge of #116176 - FedericoStra:isqrt, r=dtolnaybors-0/+102
2023-09-28isqrt: `assume` that `isqrt` takes half as many bitsFederico Stra-0/+7
2023-09-28fixup! isqrt: fix stabilityFederico Stra-6/+6
2023-09-28isqrt: cite source and rename variables to match original C codeFederico Stra-11/+16
2023-09-28isqrt: fix stabilityFederico Stra-6/+9
2023-09-28fixup! isqrt: initial implementationFederico Stra-4/+4
2023-09-26isqrt: remove duplication by delegating to unsigned integersFederico Stra-40/+12
2023-09-22Extend fix to wrapping_div, wrapping_div_euclid and wrapping_rem_euclidJames Haywood-0/+12
2023-09-22Resolve rust-lang/rust#116063James Haywood-0/+4
2023-09-22isqrt: initial implementationFederico Stra-0/+115
2023-09-19explain mysterious addition in float minimum/maximumRalf Jung-0/+2
2023-09-17Rollup merge of #115477 - kellerkindt:stabilized_int_impl, r=dtolnayDylan DPC-222/+218
2023-09-05Rollup merge of #114813 - RalfJung:fpu-control, r=AmanieuMatthias Krüger-0/+12
2023-09-03Stabilize the Saturating type (saturating_int_impl, gh-87920)Michael Watzko-99/+92
2023-09-03Unimpl Shl, ShlAssign, Shr and ShrAssign for SaturatingMichael Watzko-123/+126
2023-09-02Rollup merge of #114845 - scottmcm:npo-align, r=WaffleLapkinMatthias Krüger-0/+14
2023-09-01[`clippy`] Use symbols intended for `arithmetic_side_effects`Caio-0/+2
2023-08-28Auto merge of #103836 - H4x5:extra-float-constants, r=thomccbors-0/+40
2023-08-22Replace version placeholders with 1.73.0Mark Rousskov-6/+6
2023-08-18Add `modulo` and `mod` as doc aliases for `rem_euclid`.Kevin Reid-0/+2
2023-08-15Add alignment to the NPO guaranteeScott McMurray-0/+14
2023-08-14explain why we can mutate the FPU control wordRalf Jung-0/+12
2023-08-12Partially stabilize #![feature(int_roundings)]Jacob Pratt-6/+6
2023-07-25core library: Disable fpmath tests for i386 ...liushuyu-1/+1
2023-06-19Auto merge of #112724 - scottmcm:simpler-unchecked-shifts, r=Mark-Simulacrumbors-12/+5
2023-06-17Rollup merge of #112644 - zica87:nonZeroTypes, r=Mark-SimulacrumMatthias Krüger-9/+12
2023-06-16[libs] Simplify `unchecked_{shl,shr}`Scott McMurray-12/+5
2023-06-15Correct types in method descriptions of `NonZero*` typeszica-9/+12
2023-06-09Add diagnostic items for `f32::NAN` and `f64::NAN`Urgau-0/+2
2023-05-30Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-14/+14
2023-05-16Auto merge of #111044 - jmillikin:nonzero-negation, r=dtolnaybors-18/+12
2023-05-14Auto merge of #92048 - Urgau:num-midpoint, r=scottmcmbors-0/+206
2023-05-07Add `#[inline]` to functions that are never calledGary Guo-0/+1
2023-05-05Stabilize feature `nonzero_negation_ops`John Millikin-18/+12
2023-05-04Rollup merge of #111186 - jmillikin:nonzero-is-positive, r=dtolnayMatthias Krüger-0/+26
2023-05-04Add `is_positive` method for signed non-zero integers.John Millikin-0/+26
2023-05-03Add the basic `ascii::Char` typeScott McMurray-1/+10
2023-04-28replace version placeholdersPietro Albini-4/+4
2023-04-26Implement midpoint for all unsigned NonZeroU{8,16,32,64,128,size}Loïc BRANSTETT-0/+37
2023-04-26Implement midpoint for all floating point f32 and f64Loïc BRANSTETT-0/+72
2023-04-26Implement midpoint for all signed and unsigned integersLoïc BRANSTETT-0/+97