about summary refs log tree commit diff
path: root/library/core/tests/num
AgeCommit message (Expand)AuthorLines
2025-01-26Put all coretests in a separate cratebjorn3-5283/+0
2025-01-24Remove a bunch of emscripten test ignoresbjorn3-31/+29
2024-12-27Tidy up bigint mul methodsltdk-6/+119
2024-10-26Add test for all midpoint expectationsUrgau-0/+55
2024-10-26Round negative signed integer towards zero in `iN::midpoint`Urgau-2/+2
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-2/+2
2024-10-14Run most core::num tests in const context tooltdk-525/+504
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-08-31Improve documentation for <integer>::from_str_radixKappa322-0/+2
2024-08-31Rollup merge of #129640 - saethlin:unignore-android-in-alloc, r=tgross35Matthias Krüger-13/+5
2024-08-28Improve `isqrt` tests and add benchmarksChai T. Rex-32/+249
2024-08-28Enable some ilog2 tests as wellBen Kimock-13/+5
2024-08-25Remove cfg(test) from library/coreBen Kimock-655/+649
2024-08-20Change neutral element of <fNN as iter::Sum> to neg_zeroArthur Carcano-0/+28
2024-07-29Reformat `use` declarations.Nicholas Nethercote-13/+10
2024-07-23add `is_multiple_of` for unsigned integer typesFolkert-0/+8
2024-06-21Rollup merge of #126613 - tgross35:log-test-update, r=cuviperMatthias Krüger-13/+13
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+1
2024-06-17Print the tested value in int_log testsTrevor Gross-13/+13
2024-06-02Rollup merge of #121062 - RustyYato:f32-midpoint, r=the8472Jubilee-3/+26
2024-06-01Change f32::midpoint to upcast to f64RustyYato-3/+26
2024-03-30Make {integer}::from_str_radix constantGeorge Bateman-0/+10
2023-12-10remove redundant importssurechen-5/+0
2023-10-22use visibility to check unused imports and delete some stmtsbohan-2/+0
2023-09-28isqrt: disable long running tests in MiriFederico Stra-0/+8
2023-09-26isqrt: add more testsFederico Stra-0/+32
2023-09-22isqrt: add testsFederico Stra-0/+21
2023-05-14Auto merge of #92048 - Urgau:num-midpoint, r=scottmcmbors-3/+105
2023-04-26Rollup merge of #110419 - jsoref:spelling-library, r=jyn514Matthias Krüger-1/+1
2023-04-26Implement midpoint for all floating point f32 and f64Loïc BRANSTETT-3/+53
2023-04-26Implement midpoint for all signed and unsigned integersLoïc BRANSTETT-0/+52
2023-04-26Spelling library/Josh Soref-1/+1
2023-04-19Auto merge of #110393 - fee1-dead-contrib:rm-const-traits, r=oli-obkbors-0/+2
2023-04-16fix library and rustdoc testsDeadbeef-0/+2
2023-04-16Remove unused unused_macrosest31-1/+0
2023-04-10remove obsolete testTobias Decking-11/+0
2023-04-10Improve the floating point parser in `dec2flt`.Tobias Decking-1/+1
2023-01-21Remove unnecessary `&format!`Nikolai Vazquez-1/+1
2023-01-04Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni-4/+2
2022-11-16Auto merge of #102935 - ajtribick:display-float-0.5-fixed-0, r=scottmcmbors-2/+2
2022-10-14more dupe word typosRageking8-1/+1
2022-10-12Rollup merge of #102578 - lukas-code:ilog-panic, r=m-ou-seDylan DPC-0/+30
2022-10-11Fix inconsistent rounding of 0.5 when formatted to 0 decimal placesAndrew Tribick-2/+2
2022-10-07make const_err a hard errorRalf Jung-2/+0
2022-10-02add tests for panicking integer logarithmsLukas Markeffsky-0/+30
2022-09-09Auto merge of #93873 - Stovent:big-ints, r=m-ou-sebors-0/+48
2022-08-09Rename integer log* methods to ilog*Eric Holk-78/+78
2022-05-30Implement carrying_add and borrowing_sub on signed numbersStovent-0/+48
2022-05-04Update `int_roundings` methods from feedbackJacob Pratt-14/+14
2022-04-18Remove unused macro rulesest31-12/+0