summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2024-10-14replace placeholder versionJosh Stone-32/+32
2024-10-05move f16/f128 const fn under f16/f128 feature gateRalf Jung-16/+16
2024-10-04Auto merge of #130157 - eduardosm:stabilize-const_float_classify, r=RalfJungbors-30/+28
2024-09-23Rollup merge of #130713 - bjoernager:const-char-make-ascii, r=NoratriebMatthias Krüger-2/+4
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-9/+9
2024-09-22Mark 'make_ascii_uppercase' and 'make_ascii_lowercase' in 'u8' as const; Rena...Gabriel Bjørnager Jensen-2/+4
2024-09-19Rollup merge of #130553 - GnomedDev:remove-clippy-paths, r=compiler-errorsMatthias Krüger-0/+2
2024-09-19Rollup merge of #128001 - Krappa322:master, r=scottmcmMatthias Krüger-26/+53
2024-09-19[Clippy] Swap `float_equality_without_abs` to use diagnostic items instead of...GnomedDev-0/+2
2024-09-16Auto merge of #130220 - RalfJung:float-classify, r=workingjubileebors-109/+31
2024-09-12Rollup merge of #130101 - RalfJung:const-cleanup, r=fee1-deadMatthias Krüger-1/+1
2024-09-12Stabilize `const_float_classify`Eduardo Sánchez Muñoz-30/+28
2024-09-12simplify float::classify logicRalf Jung-109/+31
2024-09-10clean up internal comments about float semanticsRalf Jung-8/+3
2024-09-08add FIXME(const-hack)Ralf Jung-1/+1
2024-09-08Auto merge of #130002 - orlp:better-div-floor-ceil, r=thomccbors-4/+16
2024-09-07Auto merge of #130091 - matthiaskrgr:rollup-kalu1cs, r=matthiaskrgrbors-32/+32
2024-09-05better implementation of signed div_floor/ceilOrson Peters-4/+16
2024-09-03replace placeholder versionBoxy-4/+4
2024-09-01stabilize const_float_bits_convRalf Jung-32/+32
2024-08-31Improve documentation for <integer>::from_str_radixKappa322-26/+53
2024-08-29Rollup merge of #128166 - ChaiTRex:isqrt, r=tgross35Guillaume Gomez-35/+371
2024-08-28Speed up `checked_isqrt` and `isqrt` methodsChai T. Rex-35/+371
2024-08-28Rollup merge of #129480 - lolbinarycat:euclid-docs, r=joboetMatthias Krüger-8/+13
2024-08-27Rollup merge of #129559 - RalfJung:float-nan-semantics, r=thomccTrevor Gross-36/+52
2024-08-26Rollup merge of #129377 - chorman0773:unbounded-shifts-impl, r=scottmcmMatthias Krüger-0/+118
2024-08-26float types: document NaN bit pattern guaranteesRalf Jung-36/+52
2024-08-23Change `f16` doctests in core to run on x86-64 linuxTrevor Gross-13/+13
2024-08-23docs: correct panic conditions for rem_euclid and similar functionsbinarycat-8/+13
2024-08-22feat(core): Make `unbounded_shl{l,r}` unstably const and remove `rustc_allow_...Connor Horman-4/+4
2024-08-22fix(core): Use correct operations/values in `unbounded_shr` doctestsConnor Horman-2/+2
2024-08-21chore: `x fmt`Connor Horman-1/+1
2024-08-21fix(core): Add `#![feature(unbounded_shifts)]` to doctests for `unbounded_shr...Connor Horman-2/+6
2024-08-21chore: `x fmt` and hopefully fix the tidy issueConnor Horman-12/+12
2024-08-21chore: Also format the control flowConnor Horman-8/+8
2024-08-21Manually format functions and use `rhs` instead of `v` from my CE testingConnor Horman-17/+17
2024-08-21feat(core): Add implementations for `unbounded_shl`/`unbounded_shr`Connor Horman-0/+114
2024-08-16float to/from bits and classify: update comments regarding non-conformant har...Ralf Jung-500/+85
2024-08-13Rollup merge of #122884 - mzabaluev:pow-remove-exit-branch, r=AmanieuMatthias Krüger-89/+150
2024-08-13Revert to original loop for const pow exponentsMikhail Zabaluev-160/+110
2024-08-08Rollup merge of #128749 - tgross35:float-inline, r=scottmcmMatthias Krüger-0/+6
2024-08-07Mark `{f32,f64}::{next_up,next_down,midpoint}` inlineTrevor Gross-0/+6
2024-08-06Rollup merge of #128417 - tgross35:f16-f128-math, r=dtolnayTrevor Gross-6/+353
2024-08-03Remove unnecessary constants from flt2dec dragonChristopher Swenson-23/+26
2024-08-01Update comments for `{f16, f32, f64, f128}::midpoint`Trevor Gross-12/+12
2024-08-01Add `core` functions for `f16` and `f128` that require math routinesTrevor Gross-0/+347
2024-07-30Auto merge of #128083 - Mark-Simulacrum:bump-bootstrap, r=albertlarsan68bors-41/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-48/+27
2024-07-28step cfg(bootstrap)Mark Rousskov-41/+0
2024-07-28Rollup merge of #128103 - folkertdev:unsigned-int-is-multiple-of, r=AmanieuGuillaume Gomez-0/+29