Commit Graph

45 Commits

Author SHA1 Message Date
Timothy Warren
f8b91531b9 Partially implement multiplication, code formatting
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-13 14:17:25 -04:00
Timothy Warren
74744095f1 Fix zero subtraction
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-11 14:01:45 -04:00
Timothy Warren
a5b727a156 Test zeros for addition
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-11 13:58:56 -04:00
Timothy Warren
9f60706a9b More tests
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-11 11:16:40 -04:00
Timothy Warren
a8de0cfa88 Add borrowing for subtraction
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-11 10:52:49 -04:00
ae77ede1c0 Partially implement subtraction
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-10 20:46:51 -04:00
Timothy Warren
d0ac326944 Add negation operator for Sign
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-06 12:26:15 -05:00
34a1989925 Tests should not be listed in test coverage report
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-05 21:53:33 -05:00
193a66b19d Implement more From trait mappings, add more docs
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-05 21:29:54 -05:00
Timothy Warren
101a37b6bc Tests and fixes
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-05 16:24:33 -05:00
437dcd34fb Implement NOT operator
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-03-05 09:20:02 -05:00
f352c1aa4e No code coverage for benchmarks
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-03-05 08:32:38 -05:00
Timothy Warren
272b7360f5 Add implementation of sterlings approximation
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-04 16:53:31 -05:00
Timothy Warren
94f39fff07 Start implementations of basic arithmatic operators
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-03-04 16:16:28 -05:00
Timothy Warren
a5e3e88e1e Add proper test for add function
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-03-04 09:19:33 -05:00
Timothy Warren
d5d9730607 First shot at adding bigints
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-03-03 16:33:21 -05:00
Timothy Warren
096373789b Add stein gcd
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-28 17:11:36 -05:00
Timothy Warren
57526e5fed Some minor stuff for bigints
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-02-24 16:30:59 -05:00
Timothy Warren
074f2bf662 Update docs, more tests
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-24 13:49:09 -05:00
Timothy Warren
bf09388604 Attempt to benchmark gcd algorithm
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-02-21 16:33:00 -05:00
Timothy Warren
d4458bae08 More factorial/fibonacci optimizing
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-02-21 13:15:05 -05:00
3624b415ee Use bench tests to optimize factorial and fibonacci functions
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-20 21:26:28 -05:00
Timothy Warren
75fe940ffc Add benchmarks
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-20 17:13:46 -05:00
Timothy Warren
38c2d93c0a Attempt CI coverage report
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-02-20 11:35:04 -05:00
35c99a3ba1 Clean up macros a little bit
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-19 21:52:00 -05:00
4f5dcddcc5 Simplify types for ration impls
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-19 21:23:07 -05:00
3323c2ff23 Add makefile for code coverage operations, increase code coverage
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-19 21:10:53 -05:00
Timothy Warren
cbf66916f9 Reorganize somewhat, add more fraction tests
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-19 16:22:01 -05:00
Timothy Warren
44467df38f Fix another negative fraction condition
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-19 15:07:40 -05:00
Timothy Warren
84656e74c9 Much improvement of addition and subtraction
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-19 14:08:43 -05:00
Timothy Warren
55d2d407e3 Formatting and proper comparision
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-19 09:39:19 -05:00
ba3952206a WIP: Comparision operator tests
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-18 21:29:40 -05:00
46629952a5 Don't re-implement native trait methods, skip broken add test for now
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-18 21:09:49 -05:00
2f8b61dab5 implement operator overloading for comparision operators
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
2020-02-18 20:59:58 -05:00
Timothy Warren
caeb1879c4 Allow unsigned or signed input to frac macro
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
2020-02-18 16:38:26 -05:00
Timothy Warren
c593e38078 Commit missing import 2020-02-18 10:22:33 -05:00
Timothy Warren
fb92f5c463 Mostly implemented fractions and doc improvements 2020-02-18 10:19:57 -05:00
aae00e2031 Sort of get fractions to work from signed or unsigned numbers 2020-02-14 23:41:14 -05:00
Timothy Warren
fb87807227 Messy work in progress 2020-02-14 17:24:51 -05:00
Timothy Warren
d20cb06c87 From Macro to tortured Generic 2020-02-14 12:30:09 -05:00
Timothy Warren
16741c8c4d Add some tests 2020-02-14 12:11:57 -05:00
Timothy Warren
2e47d97cc7 Move number traits into their own module 2020-02-14 10:14:22 -05:00
Timothy Warren
23d0ab75ec Pass cargo check and tests 2020-02-13 17:13:25 -05:00
421d548082 Add more mysteries 2020-02-12 23:10:08 -05:00
4d15858e45 First commit 2020-02-12 22:29:57 -05:00