400 Commits

Author SHA1 Message Date
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
bors[bot]
667035f81d Merge #63
63: test source importing this crate r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-13 01:20:31 +00:00
Jorge Aparicio
c585a1c138 test source importing this crate 2018-07-12 20:19:42 -05:00
bors[bot]
e916cd9403 Merge #62
62: re-structure for compiler-builtins integration and add extension traits r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-13 00:58:37 +00:00
Jorge Aparicio
db34ad1f14 add extension traits 2018-07-12 19:57:44 -05:00
Jorge Aparicio
c5d8c75f1f re-structure for compiler-builtins integration 2018-07-12 19:16:50 -05:00
Jorge Aparicio
3747144b7b update the README 2018-07-12 18:43:59 -05:00
bors[bot]
9b2db82417 Merge #60
60: add more commented out tests r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-12 23:27:17 +00:00
Jorge Aparicio
2a4a2966a3 add more commented out tests 2018-07-12 18:26:39 -05:00
bors[bot]
ca04564bae Merge #38
38: add more testing infrastructure r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-07-12 20:50:57 +00:00
Jorge Aparicio
6448ea4500 bors-ng support 2018-07-12 15:50:06 -05:00
Jorge Aparicio
6f63d8c573 add more testing infrastructure 2018-07-12 15:30:32 -05:00
Jorge Aparicio
284a505fed
Merge pull request #5 from japaric/ci64
add test infrastructure for f64 functions
2018-07-12 14:35:21 -05:00
Jorge Aparicio
7ac406f311 add test infrastructure for f64 functions 2018-07-12 14:24:02 -05:00
Jorge Aparicio
a9bf348d92 add comment about issue #4 2018-07-12 13:34:28 -05:00
Jorge Aparicio
80775f7547 fmodf is done 2018-07-12 13:23:40 -05:00
Jorge Aparicio
b9f2890ac5 update the README 2018-07-12 12:43:25 -05:00
Jorge Aparicio
d98efec37c
Merge pull request #2 from japaric/fmodf
implement fmodf
2018-07-12 12:42:24 -05:00
Jorge Aparicio
a43c6c3710 implement fmodf 2018-07-12 12:32:16 -05:00
Jorge Aparicio
de14d07a99
Merge pull request #3 from japaric/approx
use approximate equality with 1 ULP of tolerance
2018-07-12 12:31:16 -05:00
Jorge Aparicio
75c000261e use approximate equality with 1 ULP of tolerance 2018-07-12 12:20:55 -05:00
Jorge Aparicio
59c4cc6bbf
Merge pull request #1 from japaric/ci
add CI
2018-07-12 01:30:01 -05:00
Jorge Aparicio
4b89f61773 add CI 2018-07-12 01:17:08 -05:00
Jorge Aparicio
a043c38e41 initial commit 2018-07-12 00:44:28 -05:00