about summary refs log tree commit diff
path: root/library/core/src/num
AgeCommit message (Expand)AuthorLines
2024-07-03core: Limit four f16 doctests to x86_64 linuxMartin Nordholts-6/+9
2024-07-02Add edge-case examples to `{count,leading,trailing}_{ones,zeros}` methodsNick Fitzgerald-6/+35
2024-07-02chore: remove duplicate wordshattizai-1/+1
2024-06-30Rollup merge of #126906 - GrigorenkoPV:fixme-split_at_first, r=Mark-SimulacrumMatthias Krüger-6/+2
2024-06-29Remove uneccessary condition in `div_ceil`Tobias Decking-1/+1
2024-06-27fix least significant digits of f128 associated constantsTrevor Spiteri-3/+3
2024-06-26Auto merge of #126608 - tgross35:f16-f128-library, r=Mark-Simulacrumbors-58/+1378
2024-06-25Add more `f16` and `f128` library functions and constantsTrevor Gross-2/+1250
2024-06-25Add doctests to existing `f16` and `f128` functionsTrevor Gross-4/+68
2024-06-25Auto merge of #126852 - scottmcm:more-checked-math-tweaks, r=Amanieubors-2/+13
2024-06-24Small fixme in core now that split_first has no codegen issuesPavel Grigorenko-6/+2
2024-06-24Small fixme in core now that NonZero is genericPavel Grigorenko-13/+2
2024-06-24Reword docs for `f32` and `f64`Trevor Gross-8/+12
2024-06-24Extract repeated constants from `f32` and `f64` sourceTrevor Gross-46/+50
2024-06-23Implement `unsigned_signed_diff`ilikdoge-0/+61
2024-06-23Also get `add nuw` from `uN::checked_add`Scott McMurray-2/+13
2024-06-22Rollup merge of #126552 - fee1-dead-contrib:rmfx, r=compiler-errorsMatthias Krüger-4/+2
2024-06-21Remove `feature(effects)` from the standard libraryDeadbeef-4/+2
2024-06-20Stop using `unlikely` in `strict_*` methodsScott McMurray-19/+19
2024-06-17Rollup merge of #126468 - RalfJung:euclid, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-4/+6
2024-06-14div_euclid, rem_euclid: clarify/extend documentationRalf Jung-4/+6
2024-06-13Fix wording in {checked_}next_power_of_twoChristiaan Biesterbosch-3/+3
2024-06-11remove cfg(bootstrap)Pietro Albini-11/+7
2024-06-11Skip fast path for dec2flt when optimize_for_sizeDion Dokter-2/+4
2024-06-10Rollup merge of #126191 - ivan-shrimp:nonzero_doc, r=scottmcmMatthias Krüger-10/+32
2024-06-09Rollup merge of #125253 - sunsided:feature/FRAC_1_SQRT_PI, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-0/+23
2024-06-09fix `NonZero` doctest inconsistenciesivan-shrimp-10/+32
2024-06-02Rollup merge of #125884 - Rua:integer_sign_cast, r=Mark-SimulacrumJubilee-0/+48
2024-06-02Rollup merge of #121062 - RustyYato:f32-midpoint, r=the8472Jubilee-19/+36
2024-06-02Wording of the documentationRua-4/+4
2024-06-02Implement feature `integer_sign_cast`Rua-0/+48
2024-06-01Change f32::midpoint to upcast to f64RustyYato-19/+36
2024-06-02Auto merge of #124294 - tspiteri:ilog-first-iter, r=the8472bors-2/+5
2024-05-29Add FRAC_1_SQRT_2PI doc alias to FRAC_1_SQRT_TAUMarkus Mayer-0/+4
2024-05-29Add FRAC_1_SQRT_2PI constant to f16/f32/f64/f128Markus Mayer-0/+19
2024-05-26Rollup merge of #125559 - scottmcm:simplify-shift-ubcheck, r=workingjubileeJubilee-8/+4
2024-05-26Rollup merge of #125571 - tesuji:dummy-pi, r=NilstriebMatthias Krüger-4/+4
2024-05-26f32: use constants instead of reassigning a dummy value as PILzu Tao-4/+4
2024-05-25Simplify the `unchecked_sh[lr]` ub-checks a bitScott McMurray-8/+4
2024-05-23Add assert_unsafe_precondition to unchecked_{add,sub,neg,mul,shl,shr} methodsltdk-33/+147
2024-05-16Add doctests for f16 and f128 library functions where possibleTrevor Gross-1/+40
2024-05-12reverse condition in `uN::checked_sub`ivan-shrimp-3/+3
2024-05-10Auto merge of #124863 - DaniPopes:from-str-radix-panic, r=Amanieubors-6/+6
2024-05-08Use generic `NonZero` in examples.Markus Reiter-183/+181
2024-05-08Rollup merge of #124838 - RalfJung:next_power_of_two, r=scottmcmJubilee-0/+1
2024-05-08from_str_radix: outline only the panic functionDaniPopes-6/+6
2024-05-07next_power_of_two: add a doctest to show what happens on 0Ralf Jung-0/+1
2024-05-06f16::is_sign_{positive,negative} were feature-gated on f128Trevor Spiteri-2/+2
2024-05-06Auto merge of #123850 - tspiteri:f16_f128_consts, r=Amanieubors-4/+382
2024-05-04Rollup merge of #124701 - scottmcm:unchecked_sub_docs, r=NilstriebMatthias Krüger-0/+25