summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2023-05-29Swap out CURRENT_RUSTC_VERSION to 1.71.0Mark Rousskov-14/+14
2023-05-16Auto merge of #111044 - jmillikin:nonzero-negation, r=dtolnaybors-18/+12
2023-05-14Auto merge of #92048 - Urgau:num-midpoint, r=scottmcmbors-0/+206
2023-05-07Add `#[inline]` to functions that are never calledGary Guo-0/+1
2023-05-05Stabilize feature `nonzero_negation_ops`John Millikin-18/+12
2023-05-04Rollup merge of #111186 - jmillikin:nonzero-is-positive, r=dtolnayMatthias Krüger-0/+26
2023-05-04Add `is_positive` method for signed non-zero integers.John Millikin-0/+26
2023-05-03Add the basic `ascii::Char` typeScott McMurray-1/+10
2023-04-28replace version placeholdersPietro Albini-4/+4
2023-04-26Implement midpoint for all unsigned NonZeroU{8,16,32,64,128,size}Loïc BRANSTETT-0/+37
2023-04-26Implement midpoint for all floating point f32 and f64Loïc BRANSTETT-0/+72
2023-04-26Implement midpoint for all signed and unsigned integersLoïc BRANSTETT-0/+97
2023-04-25Auto merge of #110389 - mazong1123:add-shortcut-for-grisu3, r=Mark-Simulacrumbors-0/+16
2023-04-25Add shortcut for Grisu3 algorithm.mazong1123-0/+16
2023-04-20Implement `Neg` for signed non-zero integers.John Millikin-3/+16
2023-04-17fix codegen differenceDeadbeef-8/+22
2023-04-16more hacksDeadbeef-5/+8
2023-04-16hack signum as wellDeadbeef-2/+5
2023-04-16rm const traits in libcoreDeadbeef-120/+77
2023-04-14Auto merge of #101959 - Xaeroxe:clamp-better-assert, r=ChrisDentonbors-2/+2
2023-04-11Rollup merge of #110070 - scottmcm:wrapping-neg, r=cuviperYuki Okushi-5/+4
2023-04-10Improve the floating point parser in `dec2flt`.Tobias Decking-287/+187
2023-04-07The `wrapping_neg` example for unsigned types shouldn't use `i8`Scott McMurray-5/+4
2023-04-07Fix wrong type in docs: i16 -> u16Jörn Bethune-1/+1
2023-04-05Auto merge of #94786 - joshlf:patch-5, r=dtolnaybors-0/+7
2023-03-27Fix ASCII case commentclubby789-1/+1
2023-03-21Auto merge of #108717 - TDecki:dec2flt-inline, r=thomccbors-1/+18
2023-03-11Rollup merge of #106633 - c410-f3r:stabilize-nonzero_bits, r=dtolnayMatthias Krüger-12/+4
2023-03-04Update comment.Tobias Decking-1/+1
2023-03-04typoTobias Decking-1/+1
2023-03-04Add inlining annotationsTobias Decking-1/+18
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
2023-01-09Remove unstable featureCaio-8/+0
2023-01-09Stabilize `nonzero_min_max`Caio-4/+4