about summary refs log tree commit diff
path: root/library/core/tests/num
AgeCommit message (Expand)AuthorLines
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
2022-04-12Auto merge of #95399 - gilescope:plan_b, r=scottmcmbors-1/+70
2022-04-11better def of is signed in tests.Giles Cope-8/+2
2022-04-10Use Add, Sub, Mul traits instead of unsafeGiles Cope-1/+31
2022-04-04from_u32(0) can just be default()Giles Cope-1/+46
2022-03-31skip slow int_log tests in MiriRalf Jung-0/+10
2022-03-10Use implicit capture syntax in format_argsT-O-R-U-S-7/+7
2022-03-01Miri/CTFE: properly treat overflow in (signed) division/rem as UBRalf Jung-0/+10
2022-01-10Simplification of BigNum::bit_lengthChristopher Swenson-0/+35
2021-11-22Revert "Temporarily rename int_roundings functions to avoid conflicts"Jacob Pratt-22/+22
2021-11-20Implement IEEE 754-2019 minimun and maximum functions for f32/f64Loïc BRANSTETT-0/+61
2021-10-12Auto merge of #88788 - falk-hueffner:speedup-int-log10-branchless, r=joshtrip...bors-0/+3
2021-09-22Temporarily rename int_roundings functions to avoid conflictsJosh Triplett-22/+22
2021-09-09Speed up integer log10.Falk Hüffner-0/+3
2021-09-05Change return type for T::{log,log2,log10} to u32. The value is atFalk Hüffner-11/+11
2021-09-02Implement #88581Jacob Pratt-0/+74
2021-08-07Add test for int to floatAlbin Hedman-0/+4
2021-08-07Add testsAlbin Hedman-0/+23
2021-07-17Auto merge of #86761 - Alexhuszagh:master, r=estebankbors-200/+237
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-200/+237
2021-07-07test integer log10 values close to all powers of 10Trevor Spiteri-0/+54
2021-07-07Rollup merge of #80918 - yoshuawuyts:int-log2, r=m-ou-seYuki Okushi-0/+100
2021-06-25Add Integer::{log,log2,log10} variantsYoshua Wuyts-0/+100