summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2024-09-02replace placeholder versionBoxy-4/+4
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
2024-07-28Rollup merge of #127765 - bitfield:fix_stdlib_doc_nits, r=dtolnayGuillaume Gomez-117/+122
2024-07-27bitwise and bytewise methods on `NonZero`Peter Jaszkowiak-3/+430
2024-07-27Auto merge of #128255 - stepancheg:doc-shl, r=scottmcmbors-0/+13
2024-07-27Document int.checked_shl(BITS - 1)Stepan Koltsov-0/+13
2024-07-26Rollup merge of #124941 - Skgland:stabilize-const-int-from-str, r=dtolnayTrevor Gross-3/+4
2024-07-26Fix doc nitsJohn Arundel-117/+122
2024-07-24Rollup merge of #126042 - davidzeng0:master, r=AmanieuMatthias Krüger-0/+61
2024-07-24Rollup merge of #127252 - fitzgen:edge-cases-for-bitwise-operations, r=m-ou-seMatthias Krüger-6/+35
2024-07-23add `is_multiple_of` for unsigned integer typesFolkert-0/+29
2024-07-19improve safety commentivan-shrimp-1/+1
2024-07-19add `NonZero<uN>::isqrt`ivan-shrimp-45/+63
2024-07-16Rollup merge of #126271 - diondokter:dec2flt-skip-fast-path, r=tgross35Trevor Gross-2/+4
2024-07-17Cfg nitDion Dokter-1/+1
2024-07-16Rollup merge of #127047 - tspiteri:f128-aconsts-lsd, r=tgross35Trevor Gross-3/+3
2024-07-15Auto merge of #127020 - tgross35:f16-f128-classify, r=workingjubileebors-33/+491
2024-07-15Mark some `f16` and `f128` functions unstably constTrevor Gross-32/+210
2024-07-14Add `classify` and related methods for `f16` and `f128`Trevor Gross-1/+281
2024-07-13Use is_val_statically_known to optimize powMikhail Zabaluev-92/+124
2024-07-12Explicitly unroll integer pow for small exponentsMikhail Zabaluev-12/+112
2024-07-11Optimize integer pow by removing exit branchMikhail Zabaluev-73/+52