about summary refs log tree commit diff
path: root/library/core/src/num/int_macros.rs
AgeCommit message (Expand)AuthorLines
2025-09-26Update CURRENT_RUSTC_VERSION post-bumpMark Rousskov-28/+28
2025-09-22assert_unsafe_precondition: fix some incorrect check_language_ubRalf Jung-3/+3
2025-09-05Rollup merge of #144342 - Qelxiros:exact-bitshifts, r=tgross35Trevor Gross-0/+117
2025-09-02add exact bitshiftsJeremy Smart-0/+117
2025-09-02docs(std): add missing closing code block fences in doc commentsAudaciousAxiom-1/+1
2025-08-20Rollup merge of #145381 - Gnurou:int_lowest_highest_one, r=jhprattJacob Pratt-0/+42
2025-08-19Rollup merge of #144767 - tgross35:doc-grammar, r=ibraheemdev许杰友 Jieyou Xu (Joe)-6/+3
2025-08-18Implement feature `int_lowest_highest_one` for integer and NonZero typesAlexandre Courbot-0/+42
2025-08-07Rollup merge of #144682 - nxsaken:strict_overflow_ops, r=Mark-SimulacrumStuart Cook-46/+28
2025-08-05Renamed `isolate_most_least_significant_one` functionsokaneco-6/+6
2025-07-31Correct some grammar in integer documentationTrevor Gross-6/+3
2025-07-30Stabilize strict_overflow_opsNurzhan Sakén-46/+28
2025-06-20integer docs: remove extraneous textTshepang Mbambo-208/+0
2025-06-12chore(doctest): Remove redundant blank linesShun Sakai-1/+0
2025-05-30Rollup merge of #141237 - Qelxiros:139911-exact-div, r=workingjubileeJubilee-1/+105
2025-05-21Add some track_caller info to precondition panicsBen Kimock-6/+6
2025-05-18add exact_div functionsJeremy Smart-1/+105
2025-05-12update cfg(bootstrap)Pietro Albini-2/+2
2025-04-24Suggest {to,from}_ne_bytes for transmutations between arrays and integers, etcbendn-0/+2
2025-04-11Rollup merge of #137835 - scottmcm:signum, r=compiler-errorsJacob Pratt-4/+1
2025-04-09replace version placeholderBoxy-6/+6
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-9/+9
2025-03-01Use `BinOp::Cmp` for `iNN::signum`Scott McMurray-4/+1
2025-02-24Rollup merge of #137393 - chorman0773:unbounded-shifts-stabilize, r=AmanieuJacob Pratt-4/+4
2025-02-22Rollup merge of #136910 - okaneco:sig_ones, r=thomccMatthias Krüger-0/+46
2025-02-21Stabilize `unbounded_shifts`Connor Horman-4/+4
2025-02-20Implement feature `isolate_most_least_significant_one` for integer typesokaneco-0/+46
2025-02-15Stabilize (and const-stabilize) `integer_sign_cast`Pavel Grigorenko-2/+2
2024-12-27Tidy up bigint mul methodsltdk-0/+108
2024-11-29Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrumbors-11/+4
2024-11-28Use consistent wording in docs, use zero instead of 0timvisee-13/+13
2024-11-27update cfgsBoxy-7/+0
2024-11-27replace placeholder versionBoxy-4/+4
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-2/+0
2024-11-14docs: Fix missing period in methods for integer typesShun Sakai-4/+4
2024-11-08mark is_val_statically_known intrinsic as stably const-callableRalf Jung-2/+0
2024-11-02get rid of a whole bunch of unnecessary rustc_const_unstable attributesRalf Jung-18/+0
2024-11-01unchecked_shifts, unchecked_neg are safe-to-const-expose-on-stable, so we can...Ralf Jung-9/+7
2024-10-28Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross35Matthias Krüger-6/+4
2024-10-26Round negative signed integer towards zero in `iN::midpoint`Urgau-38/+0
2024-10-25get rid of the internal unlikely macroRalf Jung-15/+15
2024-10-08Stabilize `isqrt` featureChai T. Rex-6/+4
2024-09-05better implementation of signed div_floor/ceilOrson Peters-4/+16
2024-08-29Rollup merge of #128166 - ChaiTRex:isqrt, r=tgross35Guillaume Gomez-7/+29
2024-08-28Speed up `checked_isqrt` and `isqrt` methodsChai T. Rex-7/+29
2024-08-28Rollup merge of #129480 - lolbinarycat:euclid-docs, r=joboetMatthias Krüger-8/+13
2024-08-23docs: correct panic conditions for rem_euclid and similar functionsbinarycat-8/+13
2024-08-22feat(core): Make `unbounded_shl{l,r}` unstably const and remove `rustc_allow_...Connor Horman-2/+2
2024-08-22fix(core): Use correct operations/values in `unbounded_shr` doctestsConnor Horman-1/+1