about summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
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-19Derive Copy+Hash for IntErrorKindranger-ross-1/+1
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
2024-10-14Stabilise 'const_make_ascii'Gabriel Bjørnager Jensen-2/+4
2024-10-08Stabilize `isqrt` featureChai T. Rex-12/+8
2024-10-08Add LowerExp and UpperExp implementationsrickdewater-16/+30
2024-10-05move f16/f128 const fn under f16/f128 feature gateRalf Jung-16/+16
2024-10-04Auto merge of #130157 - eduardosm:stabilize-const_float_classify, r=RalfJungbors-30/+28
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-9/+9
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 #130553 - GnomedDev:remove-clippy-paths, r=compiler-errorsMatthias Krüger-0/+2
2024-09-19Rollup merge of #128001 - Krappa322:master, r=scottmcmMatthias Krüger-26/+53
2024-09-19[Clippy] Swap `float_equality_without_abs` to use diagnostic items instead of...GnomedDev-0/+2
2024-09-16Auto merge of #130220 - RalfJung:float-classify, r=workingjubileebors-109/+31
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-1/+1
2024-09-12Stabilize `const_float_classify`Eduardo Sánchez Muñoz-30/+28
2024-09-12simplify float::classify logicRalf Jung-109/+31
2024-09-10clean up internal comments about float semanticsRalf Jung-8/+3
2024-09-08add FIXME(const-hack)Ralf Jung-1/+1
2024-09-08Auto merge of #130002 - orlp:better-div-floor-ceil, r=thomccbors-4/+16
2024-09-07Auto merge of #130091 - matthiaskrgr:rollup-kalu1cs, r=matthiaskrgrbors-32/+32
2024-09-05better implementation of signed div_floor/ceilOrson Peters-4/+16
2024-09-03replace placeholder versionBoxy-4/+4
2024-09-01stabilize const_float_bits_convRalf Jung-32/+32
2024-08-31Improve documentation for <integer>::from_str_radixKappa322-26/+53
2024-08-29Rollup merge of #128166 - ChaiTRex:isqrt, r=tgross35Guillaume Gomez-35/+371
2024-08-28Speed up `checked_isqrt` and `isqrt` methodsChai T. Rex-35/+371
2024-08-28Rollup merge of #129480 - lolbinarycat:euclid-docs, r=joboetMatthias Krüger-8/+13
2024-08-27Rollup merge of #129559 - RalfJung:float-nan-semantics, r=thomccTrevor Gross-36/+52