summary refs log tree commit diff
path: root/library/core/src/num/mod.rs
AgeCommit message (Expand)AuthorLines
2025-03-31replace version placeholderBoxy-4/+4
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-3/+3
2025-02-20Rollup merge of #134340 - Urgau:stabilize-num_midpoint_signed, r=scottmcmJubilee-4/+4
2025-01-30Auto merge of #134824 - niklasf:int_from_ascii, r=ibraheemdevbors-89/+131
2025-01-27Stabilize `num_midpoint_signed` featureUrgau-4/+4
2025-01-09Update a bunch of library types for MCP807Scott McMurray-0/+4
2025-01-08update version placeholdersPietro Albini-4/+4
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/+0
2024-12-11Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaninglessTobias Bucher-4/+29
2024-12-01Rollup merge of #131784 - Urgau:stabilize-midpoint, r=dtolnayJacob Pratt-14/+14
2024-12-01Stabilize unsigned `num_midpoint` featureUrgau-14/+14
2024-11-27update cfgsBoxy-1/+0
2024-11-27replace placeholder versionBoxy-2/+2
2024-11-13Auto merge of #132972 - matthiaskrgr:rollup-456osr7, r=matthiaskrgrbors-1/+1
2024-11-12Auto merge of #132870 - Noratrieb:inline-int-parsing, r=tgross35bors-0/+3
2024-11-10`#[inline]` integer parsing functionsNoratrieb-0/+3
2024-11-10Update the doc comment of `ASCII_CASE_MASK`chansuke-1/+1
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-1/+1
2024-11-03Auto merge of #132542 - RalfJung:const_panic, r=tgross35bors-14/+7
2024-11-03add const_panic macro to make it easier to fall back to non-formatting panic ...Ralf Jung-14/+7
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-8/+0
2024-10-27Use Hacker's Delight impl in `i64::midpoint` instead of wide `i128` implUrgau-2/+2
2024-10-26Round negative signed integer towards zero in `iN::midpoint`Urgau-0/+65
2024-10-25get rid of the internal unlikely macroRalf Jung-7/+0
2024-10-25Re-do recursive const stability checksRalf Jung-2/+3
2024-10-15update bootstrap configsJosh Stone-2/+0
2024-10-14Stabilise 'const_make_ascii'Gabriel Bjørnager Jensen-2/+4
2024-09-23Rollup merge of #130713 - bjoernager:const-char-make-ascii, r=NoratriebMatthias Krüger-2/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-22Mark 'make_ascii_uppercase' and 'make_ascii_lowercase' in 'u8' as const; Rena...Gabriel Bjørnager Jensen-2/+4
2024-09-19Rollup merge of #128001 - Krappa322:master, r=scottmcmMatthias Krüger-16/+53
2024-09-08add FIXME(const-hack)Ralf Jung-1/+1
2024-09-03replace placeholder versionBoxy-3/+3
2024-08-31Improve documentation for <integer>::from_str_radixKappa322-16/+53
2024-08-28Speed up `checked_isqrt` and `isqrt` methodsChai T. Rex-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-21/+11
2024-07-27Auto merge of #128255 - stepancheg:doc-shl, r=scottmcmbors-0/+8
2024-07-27Document int.checked_shl(BITS - 1)Stepan Koltsov-0/+8
2024-07-26Rollup merge of #124941 - Skgland:stabilize-const-int-from-str, r=dtolnayTrevor Gross-2/+3
2024-07-19add `NonZero<uN>::isqrt`ivan-shrimp-1/+0
2024-07-04mark `can_not_overflow` as `#[rustc_const_stable(...)]`Bennet Bleßmann-2/+1
2024-07-04stabilize `const_int_from_str`Skgland-2/+4
2024-06-24Small fixme in core now that NonZero is genericPavel Grigorenko-8/+0
2024-05-23Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methodsltdk-0/+1
2024-05-08from_str_radix: outline only the panic functionDaniPopes-6/+6
2024-05-01Replace version placeholders for 1.79Mark Rousskov-1/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-4/+4
2024-04-02Rollup merge of #123226 - scottmcm:u32-shifts, r=WaffleLapkinMatthias Krüger-11/+0
2024-03-30Make {integer}::from_str_radix constantGeorge Bateman-110/+183