about summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2019-10-31Stabilize float_to_from_bytes featureLzu Tao-24/+12
2019-10-22Apply clippy::useless_let_if_seq suggestionMateusz Mikuła-5/+4
2019-10-21Rollup merge of #65092 - tspiteri:const-is-pow2, r=oli-obkMazdak Farrokhzad-2/+2
2019-10-21improve readability of is_power_of_twoTrevor Spiteri-1/+1
2019-10-18Rollup merge of #65549 - t-rapp:tr-wrapping-rotate-docs, r=jonas-schievinkTyler Mandry-2/+2
2019-10-18Fix left/right shift typo in wrapping rotate docsTobias Rapp-2/+2
2019-10-17properly document panics in div_euclid and rem_euclidTrevor Spiteri-2/+10
2019-10-11improve performance of signed saturating_mulTrevor Spiteri-1/+1
2019-10-04make is_power_of_two a const functionTrevor Spiteri-2/+2
2019-10-03Rollup merge of #64941 - lzutao:inline-max_min_value, r=nnethercoteMazdak Farrokhzad-4/+4
2019-10-01Add lower bound doctests for `saturating_{add,sub}` signed intsLzu Tao-3/+6
2019-10-01Inline `{min,max}_value` even in debug buildsLzu Tao-4/+4
2019-09-25Rollup merge of #64764 - Mark-Simulacrum:snap, r=CentrilMazdak Farrokhzad-42/+6
2019-09-25Rollup merge of #64386 - tspiteri:const-abs2, r=oli-obkMazdak Farrokhzad-3/+26
2019-09-25Snap cfgs to new betaMark Rousskov-42/+6
2019-09-23Move `--cfg bootstrap` out of `rustc.rs`Alex Crichton-12/+12
2019-09-18doc: Format some primitives examplesLzu Tao-12/+18
2019-09-13use `sign` variable in abs and wrapping_abs methodsTrevor Spiteri-3/+26
2019-09-10Rollup merge of #63786 - tspiteri:const-abs, r=alexcrichtonMazdak Farrokhzad-21/+9
2019-09-02Auto merge of #63692 - iluuu1994:issue-49660, r=sfacklerbors-0/+8
2019-08-22Change code formatting for readability.Tomasz Różański-2/+2
2019-08-21make abs, wrapping_abs, and overflowing_abs const functionsTrevor Spiteri-21/+9
2019-08-20Test that Wrapping arithmetic ops are implemented for all int typesIlija Tovilo-0/+8
2019-08-16rustbuild: work around the stdarch cfg(bootstrap) bug.Eduard-Mihai Burtescu-12/+12
2019-08-16Rename overflowing_{add,sub,mul} intrinsics to wrapping_{add,sub,mul}.Eduard-Mihai Burtescu-6/+42
2019-08-08doc: Fix typo in float from bytes methodsLzu Tao-4/+4
2019-07-25Rollup merge of #61884 - crlf0710:stablize_euc, r=dtolnay,CentrilMazdak Farrokhzad-32/+16
2019-07-08Add documentation to float conversion methodsLzu Tao-20/+144
2019-07-08Add float conversions to and from bytesTobias Bucher-0/+106
2019-07-07Stablize Euclidean Modulo (feature euclidean_division)CrLF0710-32/+16
2019-07-04Switch master to 1.38Mark Rousskov-1/+1
2019-06-14Change `...` to `..=` where applicableAaron Kutch-17/+17
2019-06-07Make `i*::signum` a `const fn`.Dylan MacKenzie-6/+3
2019-06-06Add intrinsics for floating-point min and maxvarkor-36/+10
2019-06-05Utilize cfg(bootstrap) over cfg(stage0)Mark Rousskov-1/+1
2019-05-31Stabilize reverse_bits featureLzu Tao-9/+3
2019-05-25Rollup merge of #61134 - nvzqz:reverse_bits-must_use, r=varkorMazdak Farrokhzad-0/+3
2019-05-24Annotate each `reverse_bits` with `#[must_use]`Nikolai Vazquez-0/+3
2019-05-22Allow null-pointer-optimized enums in FFI if their underlying representation ...Michael Bradshaw-0/+1
2019-05-05to_xe_bytes for isize and usize returns an array of different sizeStepan Koltsov-30/+83
2019-04-26Auto merge of #60167 - varkor:tidy-filelength, r=matthewjasperbors-0/+2
2019-04-25ignore-tidy-filelength on all files with greater than 3000 linesvarkor-0/+2
2019-04-25Auto merge of #60192 - t-rapp:tr-saturating-funcs, r=alexcrichtonbors-0/+56
2019-04-25Add saturating_abs() and saturating_neg() functions to signed integer typesTobias Rapp-0/+56
2019-04-23Rollup merge of #59839 - KodrAus:must-use-num, r=sfacklerMazdak Farrokhzad-0/+156
2019-04-22Remove double trailing newlinesvarkor-1/+0
2019-04-19libcore: deny more...Mazdak Farrokhzad-16/+16
2019-04-18libcore => 2018Taiki Endo-87/+87
2019-04-16Fix the max value of usize on 16-bit platformsJakub Kądziołka-1/+1
2019-04-10warn on unused results for operation methods on numsAshley Mannix-0/+156