summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2025-03-31replace version placeholderBoxy-22/+22
2025-03-26Use cfg_match in coreChristopher Durham-11/+12
2025-03-16Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc许杰友 Jieyou Xu (Joe)-18/+6
2025-03-08Use `disjoint_bitor` inside `borrowing_sub`Tobias Decking-3/+8
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-0/+6
2025-03-07Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35Matthias Krüger-29/+24
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-29/+24
2025-03-06Remove #[cfg(not(test))] gates in coreThalia Archibald-18/+6
2025-03-06Add UseCloned trait related codeSantiago Pastorino-0/+6
2025-03-02dec2flt: Refactor the fast pathTrevor Gross-24/+23
2025-03-02dec2flt: Refactor float traitsTrevor Gross-111/+203
2025-03-02dec2flt: Rename fields to be consistent with documented notationTrevor Gross-14/+18
2025-03-02dec2flt: Rename `Number` to `Decimal`Trevor Gross-9/+9
2025-03-02dec2flt: Rename `Decimal` to `DecimalSeq`Trevor Gross-22/+39
2025-03-02dec2flt: Update documentation of existing methodsTrevor Gross-17/+35
2025-03-02float: Update some constants to `pub(crate)`Trevor Gross-6/+6
2025-02-24Rollup merge of #137393 - chorman0773:unbounded-shifts-stabilize, r=AmanieuJacob Pratt-8/+8
2025-02-23Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrumbors-10/+10
2025-02-23Rollup merge of #137383 - folkertdev:stabilize-unsigned-is-multiple-of, r=Nor...Matthias Krüger-2/+2
2025-02-22Rollup merge of #136910 - okaneco:sig_ones, r=thomccMatthias Krüger-0/+156
2025-02-21Stabilize `unbounded_shifts`Connor Horman-8/+8
2025-02-21stabilize `unsigned_is_multiple_of`Folkert de Vries-2/+2
2025-02-20Rollup merge of #134340 - Urgau:stabilize-num_midpoint_signed, r=scottmcmJubilee-4/+4
2025-02-20Implement feature `isolate_most_least_significant_one` for integer typesokaneco-0/+156
2025-02-19Rollup merge of #137026 - GrigorenkoPV:integer_sign_cast, r=jhprattMatthias Krüger-9/+8
2025-02-18update version placeholdersJosh Stone-10/+10
2025-02-15Stabilize (and const-stabilize) `integer_sign_cast`Pavel Grigorenko-9/+8
2025-02-14Add safe new to NotAllOnesKornel-0/+10
2025-02-06stabilize `NonZero::count_ones`Waffle Lapkin-3/+2
2025-02-04Auto merge of #135760 - scottmcm:disjoint-bitor, r=WaffleLapkinbors-3/+54
2025-02-03Add `cast_signed` and `cast_unsigned` methods for `NonZero` typesJosh Triplett-0/+47
2025-02-03For NonZero impl macros, give unsigned impls access to the corresponding sign...Josh Triplett-2/+17
2025-01-31More PR feedbackScott McMurray-6/+4
2025-01-31PR feedbackScott McMurray-1/+1
2025-01-31Add `unchecked_disjoint_bitor` with fallback intrinsic implementationScott McMurray-3/+56
2025-01-31Rollup merge of #136296 - RalfJung:float-min-max, r=tgross35Jacob Pratt-8/+16
2025-01-30Auto merge of #134824 - niklasf:int_from_ascii, r=ibraheemdevbors-89/+131
2025-01-30float::min/max: mention the non-determinism around signed 0Ralf Jung-8/+16
2025-01-27Stabilize `num_midpoint_signed` featureUrgau-4/+4
2025-01-26Rollup merge of #136019 - scottmcm:alias-unchecked-div, r=Mark-SimulacrumJacob Pratt-0/+7
2025-01-24Add an `unchecked_div` alias to the `Div<NonZero<_>>` implsScott McMurray-0/+7
2025-01-24Update library/core/src/num/nonzero.rs Carl Sverre-1/+1
2025-01-23Add memory layout documentation to generic NonZero<T>Carl Sverre-0/+20
2025-01-21Rollup merge of #135750 - scottmcm:cma-example, r=cuviperMatthias Krüger-2/+31
2025-01-20core: add `#![warn(unreachable_pub)]`Urgau-63/+64
2025-01-19Add an example of using `carrying_mul_add` to write wider multiplicationScott McMurray-2/+31
2025-01-17Add references to the IEEE functions for `float_next_up_down`Trevor Gross-0/+24
2025-01-17Stabilize `float_next_up_down`Trevor Gross-16/+8
2025-01-11Add inherent versions of MaybeUninit methods for slicesltdk-34/+34
2025-01-10Improve the safety documentation on new_uncheckedScott McMurray-1/+7