about summary refs log tree commit diff
path: root/library/core/src/num/mod.rs
AgeCommit message (Expand)AuthorLines
2025-07-21Constify Try, From, TryFromEvgenii Zheltonozhskii-1/+2
2025-06-20integer docs: remove extraneous textTshepang Mbambo-4/+0
2025-06-12chore(doctest): Remove redundant blank linesShun Sakai-1/+0
2025-05-17Auto merge of #138087 - tgross35:core-float-math, r=Amanieubors-0/+1
2025-05-16Add assert_unsafe_precondition!()s to as_ascii_unchecked() methodssam skeoch-0/+6
2025-05-16Add as_ascii_unchecked() methods to char, str, and u8sam skeoch-0/+14
2025-05-13Initial implementation of `core_float_math`Trevor Gross-0/+1
2025-04-24Mention average in midpoint documentationsUrgau-4/+14
2025-04-10Auto merge of #139279 - BoxyUwU:bump-boostrap, r=jieyouxubors-4/+4
2025-04-09replace version placeholderBoxy-4/+4
2025-04-08Update 'u8'-to-and-from-'i8' suggestions;Gabriel Bjørnager Jensen-2/+2
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