Commit Graph

62 Commits

Author SHA1 Message Date
Timothy Warren b7f39a5cf7 More work on parsing numbers from strings
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-09-24 11:28:13 -04:00
Timothy Warren 5b445add4b Fix code coverage
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-09-15 10:31:44 -04:00
Timothy Warren 19fa9bf6c7 Start implementing parsing numbers from strings
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-09-11 15:57:17 -04:00
Timothy Warren d6b0825b9a Update formatting
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-09-11 15:25:05 -04:00
Timothy Warren d90b762754 Implement Bigint from implementation for integer types larger than the pointer type 2020-09-11 15:23:42 -04:00
Timothy Warren cf262073dd Simplify PortalOrd macro
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-05-05 18:49:19 -04:00
Timothy Warren e54485f12b Allow comparing size of Bigints, and allow comparing BigInts to number primitives
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-05-05 15:41:27 -04:00
Timothy Warren 3f6071d196 Add no_std support and testing
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-04-16 14:07:12 -04:00
Timothy Warren bbfada5c0f Add convenience macro for BigInt
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-04-07 13:46:51 -04:00
Timothy Warren 322ccfe78a Game some more test coverage
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-04-03 10:04:12 -04:00
Timothy Warren b8ab76bbf6 Handle signs and carry overflow addition for multiplication
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-04-02 17:01:55 -04:00
Timothy Warren faa1f548a0 Some test coverage for sign handling
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-26 11:40:14 -04:00
Timothy Warren 063f6ffa48 Implement sign handling for addition and subtraction
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-24 13:26:00 -04:00
Timothy Warren 70aa876500 More test coverage
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-13 23:02:27 -04:00
Timothy Warren 547266e97f Pander to the code coverage tool a bit to further increase coverage
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-13 21:22:25 -04:00
Timothy Warren a2efcb0198 Increase test coverage of non-biginit stuff
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-13 17:08:43 -04:00
Timothy Warren e9b125aa7a Increase test coverage
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-13 16:31:37 -04:00
Timothy Warren f8b91531b9 Partially implement multiplication, code formatting
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-13 14:17:25 -04:00
Timothy Warren 74744095f1 Fix zero subtraction
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-11 14:01:45 -04:00
Timothy Warren a5b727a156 Test zeros for addition
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-11 13:58:56 -04:00
Timothy Warren 9f60706a9b More tests
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-11 11:16:40 -04:00
Timothy Warren a8de0cfa88 Add borrowing for subtraction
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-11 10:52:49 -04:00
Timothy Warren ae77ede1c0 Partially implement subtraction
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-10 20:46:51 -04:00
Timothy Warren d0ac326944 Add negation operator for Sign
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-06 12:26:15 -05:00
Timothy Warren 34a1989925 Tests should not be listed in test coverage report
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-05 21:53:33 -05:00
Timothy Warren 193a66b19d Implement more From trait mappings, add more docs
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-05 21:29:54 -05:00
Timothy Warren 101a37b6bc Tests and fixes
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-05 16:24:33 -05:00
Timothy Warren 437dcd34fb Implement NOT operator
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-03-05 09:20:02 -05:00
Timothy Warren f352c1aa4e No code coverage for benchmarks
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-03-05 08:32:38 -05:00
Timothy Warren 272b7360f5 Add implementation of sterlings approximation
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-04 16:53:31 -05:00
Timothy Warren 94f39fff07 Start implementations of basic arithmatic operators
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-03-04 16:16:28 -05:00
Timothy Warren a5e3e88e1e Add proper test for add function
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-03-04 09:19:33 -05:00
Timothy Warren d5d9730607 First shot at adding bigints
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-03-03 16:33:21 -05:00
Timothy Warren 096373789b Add stein gcd
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-28 17:11:36 -05:00
Timothy Warren 57526e5fed Some minor stuff for bigints
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-02-24 16:30:59 -05:00
Timothy Warren 074f2bf662 Update docs, more tests
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-24 13:49:09 -05:00
Timothy Warren bf09388604 Attempt to benchmark gcd algorithm
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-02-21 16:33:00 -05:00
Timothy Warren d4458bae08 More factorial/fibonacci optimizing
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-02-21 13:15:05 -05:00
Timothy Warren 3624b415ee Use bench tests to optimize factorial and fibonacci functions
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-20 21:26:28 -05:00
Timothy Warren 75fe940ffc Add benchmarks
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-20 17:13:46 -05:00
Timothy Warren 38c2d93c0a Attempt CI coverage report
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit Details
2020-02-20 11:35:04 -05:00
Timothy Warren 35c99a3ba1 Clean up macros a little bit
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-19 21:52:00 -05:00
Timothy Warren 4f5dcddcc5 Simplify types for ration impls
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-19 21:23:07 -05:00
Timothy Warren 3323c2ff23 Add makefile for code coverage operations, increase code coverage
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-19 21:10:53 -05:00
Timothy Warren cbf66916f9 Reorganize somewhat, add more fraction tests
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-19 16:22:01 -05:00
Timothy Warren 44467df38f Fix another negative fraction condition
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-19 15:07:40 -05:00
Timothy Warren 84656e74c9 Much improvement of addition and subtraction
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-19 14:08:43 -05:00
Timothy Warren 55d2d407e3 Formatting and proper comparision
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-19 09:39:19 -05:00
Timothy Warren ba3952206a WIP: Comparision operator tests
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-18 21:29:40 -05:00
Timothy Warren 46629952a5 Don't re-implement native trait methods, skip broken add test for now
timw4mail/rusty-numbers/pipeline/head This commit looks good Details
2020-02-18 21:09:49 -05:00