about summary refs log tree commit diff
path: root/src/libcore/num
AgeCommit message (Expand)AuthorLines
2019-08-22Change code formatting for readability.Tomasz Różański-2/+2
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
2019-03-28Rollup merge of #58717 - hellow554:nonzero_parse, r=oli-obkMazdak Farrokhzad-0/+24
2019-03-27Rollup merge of #59283 - SimonSapin:branchless-ascii-case, r=joshtriplettJosh Stone-135/+24
2019-03-25Utilize `?` instead of `return None`.Corey Farwell-4/+2
2019-03-19Simplify u8::to_ascii_{upp,low}ercase while keeping it fastSimon Sapin-42/+4
2019-03-18Remove ASCII_CHARACTER_CLASS table, use `match` with range patterns instead.Simon Sapin-55/+20
2019-03-18Make u8::to_ascii_lowercase and to_ascii_uppercase branchlessSimon Sapin-80/+42
2019-03-16Rollup merge of #59082 - alexreg:cosmetic-2-doc-comments, r=Centrilkennytm-13/+13
2019-03-13Rollup merge of #58998 - xTibor:doc_from_bytes, r=scottmcmMazdak Farrokhzad-8/+8
2019-03-12Auto merge of #58015 - icefoxen:tryfrom-docs, r=SimonSapinbors-0/+12
2019-03-11Improvements to comments in libstd, libcore, liballoc.Alexander Regueiro-13/+13
2019-03-08expand unused doc comment diagnosticAndy Russell-1/+1
2019-03-08Fix documentation of from_ne_bytes and from_le_bytesNagy Tibor-8/+8
2019-03-02Bootstrap compiler update for 1.35 releaseMark Rousskov-102/+0
2019-02-27replaced nonzeroparseerror with regular interrorMarcel Hellwig-92/+10
2019-02-27Vastly simplify TryFrom docs.Simon Heath-28/+8
2019-02-27Incorporated review changes.Simon Heath-16/+32
2019-02-27Fix a bunch of heckin' trailing whitespaceSimon Heath-5/+5
2019-02-27Add basic docs to integer TryFrom impl macros.Simon Heath-0/+16
2019-02-26Clarify `rotate_{left,right}` docsTobias Bucher-6/+8
2019-02-25Auto merge of #58302 - SimonSapin:tryfrom, r=alexcrichtonbors-15/+19
2019-02-25Add FromStr impl for NonZero typesMarcel Hellwig-0/+106
2019-02-20Rollup merge of #58044 - Lokathor:lokathor, r=alexcrichtonkennytm-9/+5