about summary refs log tree commit diff
path: root/library/core/src/fmt/num.rs
AgeCommit message (Expand)AuthorLines
2025-08-16fmt::DisplayInt abstraction obsolete with better macroPascal S. de Kloe-94/+72
2025-08-02fmt with table lookup for binary, octal and hexPascal S. de Kloe-122/+55
2025-07-25fmt of non-decimals is always non-negative due to the two's-complement outputPascal S. de Kloe-40/+48
2025-07-12Fixed a core crate compilation failure when enabling the `optimize_for_size` ...nazo6-4/+4
2025-07-08Rollup merge of #142098 - GuillaumeGomez:int_format_into, r=AmanieuMatthias Krüger-60/+230
2025-07-03Use `slice_buffer_to_str` in `GenericRadix::fmt_int`Guillaume Gomez-18/+8
2025-07-03Implement `int_format_into` featureGuillaume Gomez-42/+222
2025-07-03setup CI and tidy to use typos for spellchecking and fix few typosklensy-1/+1
2025-06-20Convert `ilog(10)` to `ilog10()`Chai T. Rex-4/+4
2025-06-16Specialize `ToString` implementation on `u128` and `i128`Guillaume Gomez-15/+13
2025-06-16Implement `_fmt` on `u128`Guillaume Gomez-94/+107
2025-06-11faster fmt::Display of 128-bit integers, without unsafe pointerPascal S. de Kloe-152/+128
2025-06-06Compute number of digits instead of relying on constant value for u128 displa...Guillaume Gomez-2/+2
2025-04-12Optimize `ToString` implementation for integersGuillaume Gomez-9/+19
2025-02-06Auto merge of #136409 - TDecking:mul_hi, r=Mark-Simulacrumbors-20/+1
2025-02-03no unsafe pointer and no overflowing_literals in fmt::Display of integersPascal S. de Kloe-68/+75
2025-02-01Use `widening_mul`Tobias Decking-20/+1
2024-11-23Improve code by using `unsigned_abs`Guillaume Gomez-18/+2
2024-11-20Reduce integer `Display` implementation sizeGuillaume Gomez-41/+41
2024-11-14Auto merge of #122770 - iximeow:ixi/int-formatting-optimization, r=workingjub...bors-4/+4
2024-11-04Fixed typo, rebasedEugene Shamis-1/+1
2024-11-04Updated SAFETY comment to address underflowEugene Shamis-2/+3
2024-11-04Replace checked slice indexing by unchecked to support panic-free codeEugene Shamis-1/+3
2024-10-15Refactor `floating` macro and nofloat panic messagezlfn-24/+26
2024-10-15Rename debug! macro to impl_Debug!zlfn-5/+7
2024-10-15Combine impl_int and impl_uintzlfn-15/+4
2024-10-01Remove the need to provide the maximum number of digits to `impl_Display` macroGuillaume Gomez-23/+24
2024-10-01Simplify `impl_Display` macroGuillaume Gomez-87/+90
2024-10-01Small optimization for integers Display implementationGuillaume Gomez-46/+92
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+1
2024-05-27Size optimize int formattingDion Dokter-0/+33
2024-03-20improve codegen of fmt_num to delete unreachable paniciximeow-4/+4
2023-12-12Remove dead codes in corer01and-3/+3
2023-11-11round to evenJames Dietz-6/+3
2023-11-11fix rounding issue with exponents in fmtJames Dietz-0/+8
2023-05-15Mark internal functions and traits unsafeLegionMammal978-5/+10
2022-09-22Apply changes proposed in the reviewMaybe Waffle-33/+33
2022-09-04Replace `offset` with `add` in `fmt/num.rs` & remove some castsMaybe Waffle-62/+62
2022-03-19Improve formatting in macror00ster91-3/+3
2021-10-03Fix Lower/UpperExp formatting for integers and precision zeroFabian Wolff-2/+1
2021-06-06Move `flt2dec::{Formatted, Part}` to dedicated moduleGary Guo-5/+5
2021-01-29Optimize udiv_1e19() functionKogia-sima-19/+36
2020-10-31fix aliasing issues in u128 formatting codeRalf Jung-3/+9
2020-09-28Use more efficient scheme for display u128/i128kadmin-59/+254
2020-09-05rename MaybeUninit slice methodsRalf Jung-4/+7
2020-07-27mv std libs to library/mark-0/+463