summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2024-11-25replace placeholder versionBoxy-12/+12
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
2024-11-14Pass `f16` and `f128` by value in `const_assert!`Trevor Gross-6/+4
2024-11-13Rollup merge of #133008 - onur-ozkan:update-outdated-comment, r=jieyouxuJubilee-1/+1
2024-11-13Rollup merge of #131304 - RalfJung:float-core, r=tgross35Jubilee-50/+373
2024-11-14docs: Fix missing colon in methods for primitive typesShun Sakai-9/+9
2024-11-14docs: Fix missing period in methods for integer typesShun Sakai-7/+7
2024-11-14Auto merge of #133006 - matthiaskrgr:rollup-dz6oiq5, r=matthiaskrgrbors-0/+103
2024-11-13update outdated comment about test-float-parseonur-ozkan-1/+1
2024-11-13Rollup merge of #126046 - davidzeng0:mixed_integer_ops_unsigned_sub, r=AmanieuMatthias Krüger-0/+103
2024-11-13Auto merge of #132662 - RalfJung:const-panic-inlining, r=tgross35bors-4/+6
2024-11-13const_panic: don't wrap it in a separate functionRalf Jung-4/+6
2024-11-13Auto merge of #132972 - matthiaskrgr:rollup-456osr7, r=matthiaskrgrbors-2/+2
2024-11-12Rollup merge of #132970 - tyilo:nonzero-u-div-ceil-issue, r=tgross35Matthias Krüger-1/+1
2024-11-12Auto merge of #132870 - Noratrieb:inline-int-parsing, r=tgross35bors-0/+3
2024-11-12Add tracking issue number to unsigned_nonzero_div_ceil featureAsger Hautop Drewsen-1/+1
2024-11-12remove no-longer-needed abs_privateRalf Jung-50/+16
2024-11-10`#[inline]` integer parsing functionsNoratrieb-0/+3
2024-11-10Update the doc comment of `ASCII_CASE_MASK`chansuke-1/+1
2024-11-08mark is_val_statically_known intrinsic as stably const-callableRalf Jung-4/+0
2024-11-07Rollup merge of #132665 - tyilo:nonzero-u-div-ceil, r=joboetJonas Böttiger-0/+29
2024-11-05Implement div_ceil for NonZero<unsigned>Asger Hautop Drewsen-0/+29
2024-11-05add const_eval_select macro to reduce redundancyRalf Jung-5/+5
2024-11-03Rollup merge of #132563 - frectonz:master, r=AmanieuJubilee-1/+9
2024-11-03Auto merge of #132542 - RalfJung:const_panic, r=tgross35bors-56/+43
2024-11-03Modify `NonZero` documentation to reference the underlying integer typefrectonz-1/+9
2024-11-03Rollup merge of #131377 - rick-de-water:nonzero-exp, r=dtolnayMatthias Krüger-16/+30
2024-11-03add const_panic macro to make it easier to fall back to non-formatting panic ...Ralf Jung-56/+43
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-47/+0
2024-11-02Rollup merge of #132451 - RalfJung:less-rustc_allow_const_fn_unstable, r=tgro...Guillaume Gomez-1/+0
2024-11-01remove no-longer-needed attributeRalf Jung-12/+0
2024-11-01add missing safety commentsRalf Jung-0/+6
2024-11-01adjust test gating for f16/f128Ralf Jung-6/+6
2024-11-01float types: move copysign, abs, signum to libcoreRalf Jung-0/+363
2024-11-01unchecked_shifts, unchecked_neg are safe-to-const-expose-on-stable, so we can...Ralf Jung-17/+13
2024-11-01remove some unnecessary rustc_allow_const_fn_unstableRalf Jung-1/+0
2024-10-30Auto merge of #132238 - Urgau:midpoint-i64-hackers-impl, r=joboetbors-2/+2
2024-10-28Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross35Matthias Krüger-12/+8
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-38/+65
2024-10-25Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-errorsbors-60/+26
2024-10-25get rid of the internal unlikely macroRalf Jung-30/+23
2024-10-25Re-do recursive const stability checksRalf Jung-31/+4
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-10/+10
2024-10-15update bootstrap configsJosh Stone-2/+0
2024-10-15replace placeholder versionJosh Stone-32/+32
2024-10-15Rollup merge of #130568 - eduardosm:const-float-methods, r=RalfJung,tgross35Michael Goulet-44/+106
2024-10-15Make some float methods unstable `const fn`Eduardo Sánchez Muñoz-44/+106