summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2025-02-17update version placeholdersJosh Stone-10/+10
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-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
2025-01-09Update a bunch of library types for MCP807Scott McMurray-30/+167
2025-01-08update version placeholdersPietro Albini-28/+28
2024-12-27Tidy up bigint mul methodsltdk-116/+264
2024-12-27Implement `int_from_ascii` (#134821)Niklas Fiekas-89/+131
2024-12-27Move `{widening, carrying}_mul` to an intrinsic with fallback MIRScott McMurray-135/+116
2024-12-17Fix typo in uint_macros.rsMarijn Schouten-1/+1
2024-12-11Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaninglessTobias Bucher-4/+29
2024-12-04Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli...Matthias Krüger-6/+28
2024-12-03Update `NonZero` and `NonNull` to not field-project (per MCP807)Scott McMurray-6/+28
2024-12-03Update the definition of `borrowing_sub`Tobias Decking-1/+1
2024-12-02Fix `f16::midpoint` const feature gateUrgau-1/+1
2024-12-02Auto merge of #133728 - jhpratt:rollup-k1i60pg, r=jhprattbors-2/+0
2024-12-01Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhprattJacob Pratt-2/+0
2024-12-01Rollup merge of #131784 - Urgau:stabilize-midpoint, r=dtolnayJacob Pratt-36/+33
2024-12-01Stabilize unsigned `num_midpoint` featureUrgau-36/+33
2024-11-30get rid of a bunch of unnecessary rustc_const_unstableRalf Jung-2/+0
2024-11-30Fix chaining `carrying_add`sScott McMurray-1/+1
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-27/+12
2024-11-28Use consistent wording in docs, use zero instead of 0timvisee-24/+24
2024-11-27update cfgsBoxy-15/+0
2024-11-27replace placeholder versionBoxy-12/+12
2024-11-24Rollup merge of #133389 - eduardosm:stabilize-const_float_methods, r=RalfJungMatthias Krüger-40/+30
2024-11-23Stabilize `const_float_methods`Eduardo Sánchez Muñoz-40/+30
2024-11-22Add code example for `wrapping_neg` method for signed integersGuillaume Gomez-0/+1
2024-11-16Rollup merge of #132449 - RalfJung:is_val_statically_known, r=compiler-errorsMatthias Krüger-4/+0
2024-11-14Rollup merge of #133050 - tgross35:inline-f16-f128, r=saethlinJubilee-6/+4
2024-11-14Rollup merge of #133019 - sorairolake:add-missing-period-and-colon, r=tgross35Jubilee-16/+16