summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2023-02-22Require `literal`s for some `(u)int_impl!` parametersScott McMurray-36/+46
2023-02-20Use named arguments for `int_impl` macroNilstrieb-39/+182
2023-02-20Use named arguments for `uint_impl` macroNilstrieb-39/+174
2023-02-13Rollup merge of #107961 - scottmcm:unify-ilog-panics, r=Mark-SimulacrumDylan DPC-12/+38
2023-02-13Rollup merge of #107654 - pitaj:reword-integral-modules, r=thomccDylan DPC-36/+12
2023-02-10Have a function for the `log(0)` panic, rather than copy-pasting the string c...Scott McMurray-12/+38
2023-02-10Remove a couple of `#[doc(hidden)] pub fn` and their `#[feature]` gatesTobias Bucher-61/+25
2023-02-06end entry paragprah with a period (.)Tshepang Mbambo-1/+1
2023-02-03reword descriptions of the deprecated int modulesPeter Jaszkowiak-36/+12
2023-01-30end entry paragraph with a period (.)Tshepang Mbambo-2/+2
2023-01-29Rollup merge of #106798 - scottmcm:signum-via-cmp, r=Mark-SimulacrumMatthias Krüger-5/+6
2023-01-15Rollup merge of #106880 - tspiteri:borrowing-sub-typo, r=cuviperMatthias Krüger-1/+1
2023-01-14doc: fix typoTrevor Spiteri-1/+1
2023-01-14Fix some missed double spaces.André Vennberg-1/+1
2023-01-14Remove various double spaces in source comments.André Vennberg-2/+2
2023-01-12Implement `signum` with `Ord`Scott McMurray-5/+6
2023-01-11Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-seMichael Goulet-36/+75
2022-12-30Replace libstd, libcore, liballoc in line comments.jonathanCogan-2/+2
2022-12-28update stabilization version numbersPietro Albini-29/+29
2022-12-08Fix warning when libcore is compiled with no_fp_fmt_parseGary Guo-1/+3
2022-12-04Auto merge of #101514 - nvzqz:nvzqz/stabilize-nonzero-bits, r=thomccbors-2/+1
2022-11-21Rollup merge of #104420 - TethysSvensson:master, r=JohnTitorMatthias Krüger-1/+1
2022-11-20Incorporate review feedbackTethys Svensson-4/+1
2022-11-18Rollup merge of #103456 - scottmcm:fix-unchecked-shifts, r=scottmcmManish Goregaokar-12/+21
2022-11-16Auto merge of #102935 - ajtribick:display-float-0.5-fixed-0, r=scottmcmbors-1/+1
2022-11-15Rollup merge of #104354 - lukas-code:blank-lines-2, r=JohnTitorMatthias Krüger-20/+6
2022-11-14Fix doc example for `wrapping_abs`Tethys Svensson-0/+3
2022-11-14Auto merge of #103858 - Mark-Simulacrum:bump-bootstrap, r=pietroalbinibors-24/+24
2022-11-13remove leading newlines from `NonZero*` doc examplesLukas Markeffsky-20/+6
2022-11-12Auto merge of #103913 - Neutron3529:patch-1, r=thomccbors-5/+9
2022-11-12Rollup merge of #104263 - albertlarsan68:add-ilog2-to-leading-zeroes-docs, r=...Guillaume Gomez-0/+8
2022-11-11Try another wayAlbert Larsan-4/+4
2022-11-11Apply suggestionsAlbert Larsan-4/+4
2022-11-11Add a reference to ilog2 in leading_zeros integer docsAlbert Larsan-0/+8
2022-11-09Rollup merge of #103570 - lukas-code:stabilize-ilog, r=scottmcmDylan DPC-30/+36
2022-11-06Bump version placeholders to releaseMark Rousskov-24/+24
2022-11-04update commentNeutron3529-4/+8
2022-11-03fix the overflow warning.Neutron3529-1/+9
2022-11-03Optimize the code to run faster.Neutron3529-9/+1
2022-10-26Print the precondition we violated, and visible through output captureBen Kimock-1/+4
2022-10-26stabilize `int_log`Lukas Markeffsky-30/+36
2022-10-23`unchecked_{shl|shr}` should use `u32` as the RHSScott McMurray-12/+21
2022-10-19doc: rewrite doc for signed int::{carrying_add,borrowing_sub}Trevor Spiteri-36/+75
2022-10-18Rollup merge of #101889 - tspiteri:redoc-uint-adc-sbb, r=m-ou-seMatthias Krüger-31/+49
2022-10-17Remove the redundant `Some(try_opt!(..))` in `checked_pow`Josh Stone-2/+2
2022-10-14Rollup merge of #103045 - lukas-code:blank-lines, r=GuillaumeGomezMatthias Krüger-11/+0
2022-10-14remove leading newlines from integer primitive doc examplesLukas Markeffsky-11/+0
2022-10-14more dupe word typosRageking8-2/+2
2022-10-12Rollup merge of #102578 - lukas-code:ilog-panic, r=m-ou-seDylan DPC-85/+15
2022-10-11Fix inconsistent rounding of 0.5 when formatted to 0 decimal placesAndrew Tribick-1/+1