Commit Graph

73 Commits

Author SHA1 Message Date
Zgarbul Andrey 103d3595db Merge branch 'master' into master 2018-07-14 08:18:18 +03:00
Andrey Zgarbul 16a5609604 fix bug in rem_pio2_large 2018-07-14 08:13:35 +03:00
bors[bot] 7bedb61b80 Merge #83
83: implement log10 and log10f r=japaric a=erikdesjardins

closes #24, closes #25

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-14 05:00:56 +00:00
bors[bot] c75bbfca9e Merge #85
85: update CONTRIBUTING r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-14 04:35:48 +00:00
Jorge Aparicio c661d1b738 update CONTRIBUTING 2018-07-13 23:34:37 -05:00
Erik 5b7428524a implement log10 and log10f 2018-07-14 00:26:49 -04:00
bors[bot] 15a5ee92a4 Merge #81
81: implement log2 and log2f r=japaric a=erikdesjardins

closes #27, closes #28

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-14 04:15:31 +00:00
Erik 46716441ae implement log2 and log2f 2018-07-13 23:53:58 -04:00
bors[bot] 565b581cfb Merge #78
78: force PR code to be formatted r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-14 03:16:10 +00:00
Jorge Aparicio f966201d4c make cargo fmt in ci/script.sh optional 2018-07-13 22:15:21 -05:00
Jorge Aparicio 392a0fb886 run cargo fmt -- --check on beta 2018-07-13 22:10:08 -05:00
Jorge Aparicio eebafc76dd force PR code to be formatted 2018-07-13 21:54:24 -05:00
Jorge Aparicio 22073023d6 run cargo-fmt 2018-07-13 21:51:07 -05:00
bors[bot] cd78955847 Merge #77
77: adding ceilf and floorf  r=japaric a=jackmott

Finishes issues #56  and #54 

Co-authored-by: Jack Mott <jack.mott@gmail.com>
2018-07-14 02:35:57 +00:00
Jack Mott 7268483bf4 adding ceilf and floorf for issues #56 and #54 2018-07-13 21:32:59 -05:00
Andrey Zgarbul 2c63f6ff75 add cosf test 2018-07-14 05:20:09 +03:00
bors[bot] 7379ef865b Merge #74
74: Implement roundf r=japaric a=P1n3appl3

closes #32 

Co-authored-by: Joseph Ryan <josephryan3.14@gmail.com>
2018-07-14 01:54:32 +00:00
Joseph Ryan 87eac33b07 Merge remote-tracking branch 'upstream/master' 2018-07-13 20:51:17 -05:00
Joseph Ryan 48d56ba5aa implement roundf 2018-07-13 20:46:09 -05:00
Jorge Aparicio a666d85673 README: note that this crate is on crates.io and already usable 2018-07-13 20:25:27 -05:00
Jorge Aparicio 7275814884 v0.1.0 2018-07-13 19:38:51 -05:00
bors[bot] 2f3151e318 Merge #71
71: implement sqrt and hypot r=japaric a=erikdesjardins

closes #57, closes #22

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-13 23:13:20 +00:00
bors[bot] 6084dad5d7 Merge #72
72: move a chunk of the README into CONTRIBUTING.md r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-13 22:58:11 +00:00
Jorge Aparicio b685b18f97 move a chunk of the README into CONTRIBUTING.md 2018-07-13 17:54:22 -05:00
Erik 22fb926cf6 implement sqrt and hypot 2018-07-13 18:36:29 -04:00
bors[bot] 7cdd8c240e Merge #70
70: seal extension traits to prevent external implementation r=japaric a=erikdesjardins

This can be enforced in code, so it might as well be done, I guess.

I don't feel strongly about this; feel free to close.

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-13 22:11:32 +00:00
Andrey Zgarbul 95bb166c6a cfg fix 2018-07-14 00:58:02 +03:00
bors[bot] 235a7de40b Merge #69
69: implement hypotf r=japaric a=erikdesjardins

closes #48

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-13 21:53:23 +00:00
Andrey Zgarbul 6bfdc4cb06 rem_pio2_large comments 2018-07-14 00:52:28 +03:00
Erik 4aad1faee4 implement hypotf 2018-07-13 17:44:48 -04:00
bors[bot] 41b9e65832 Merge #68
68: catch panics in tests r=japaric a=japaric

so we can print the inputs that triggered the panic

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-13 21:33:43 +00:00
Jorge Aparicio 037836a40f catch panics in tests
so we can print the inputs that triggered the panic
2018-07-13 16:32:57 -05:00
Andrey Zgarbul 6e055daff4 Merge branch 'master' of https://github.com/burrbull/libm 2018-07-14 00:00:28 +03:00
Andrey Zgarbul b5e93d8582 cosf review 2018-07-13 23:58:41 +03:00
Zgarbul Andrey f3b283e196 Merge branch 'master' into master 2018-07-13 23:41:59 +03:00
Erik 476fa67c76 seal extension traits to prevent external implementation 2018-07-13 16:33:16 -04:00
Andrey Zgarbul 792afba9b6 Merge branch 'master' of https://github.com/burrbull/libm 2018-07-13 23:25:07 +03:00
Andrey Zgarbul c0edfec9e9 add cosf with dependencies 2018-07-13 23:23:14 +03:00
bors[bot] 0a3a5e2bdb Merge #65
65: implement trunc and truncf r=japaric a=erikdesjardins

closes #58, closes #59

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-13 20:21:17 +00:00
Erik 471b163ddf implement trunc and truncf 2018-07-13 16:04:30 -04:00
bors[bot] 46d8a419b8 Merge #64
64: add exp and log/ln functions for f32 r=japaric a=burrbull

closes #17 
closes #29 
closes #55 

Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com>
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-13 18:37:55 +00:00
Jorge Aparicio be1d7b939c enable tests for floor and scalbn 2018-07-13 13:36:59 -05:00
Andrey Zgarbul bd32faf27d Merge branch 'master' of https://github.com/burrbull/libm 2018-07-13 21:06:13 +03:00
Andrey Zgarbul b07e665cff add floor, scalbn; fixes in expf, scalbnf 2018-07-13 21:02:11 +03:00
Jorge Aparicio 2cc47614b3 enable tests for expf and logf 2018-07-13 11:16:43 -05:00
Andrey Zgarbul 5d17a76e9a add exp and log/ln functions for f32 2018-07-13 11:10:41 +03:00
bors[bot] 6b0860a7ad Merge #61
61: Implement `round` r=japaric a=notriddle

Fixes #31 

Co-authored-by: Michael Howell <michael@notriddle.com>
2018-07-13 01:44:18 +00:00
Michael Howell dd2bbcb890 Move the force_eval! macro into the math module
This fixes the cross-inclusion into the compiler builtins
2018-07-13 01:38:04 +00:00
Michael Howell ac9e81b9c5 Enable f64::round 2018-07-13 01:34:52 +00:00
Michael Howell 39ac651a9f Implement round 2018-07-13 01:34:52 +00:00