Commit graph

69 commits

Author SHA1 Message Date
bors[bot]
ff30d74e0f Merge rust-lang/libm#88
88: add license and other comments to existing files r=japaric a=erikdesjardins

re rust-lang/libm#73

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-14 15:13:46 +00:00
bors[bot]
965c736cc1 Merge rust-lang/libm#87
87: implement log1p and log1pf r=japaric a=erikdesjardins

closes rust-lang/libm#26, closes rust-lang/libm#49

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-14 06:29:50 +00:00
Erik
6548a83edf add license and other comments to existing files 2018-07-14 02:26:19 -04:00
Erik
f73c61b762 implement log1p and log1pf 2018-07-14 02:13:12 -04:00
bors[bot]
ed51aa3a97 Merge rust-lang/libm#86
86: Add log implementation. r=japaric a=leesdolphin

Fixes rust-lang/libm#23 


Co-authored-by: Opal <leesdolphin@gmail.com>
2018-07-14 05:45:32 +00:00
Opal
83673acaa4 Add log implementation.
Fixes rust-lang/libm#23
2018-07-14 17:25:20 +12:00
bors[bot]
827eed6f5d Merge rust-lang/libm#83
83: implement log10 and log10f r=japaric a=erikdesjardins

closes rust-lang/libm#24, closes rust-lang/libm#25

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-14 05:00:56 +00:00
bors[bot]
1f2d9071ea Merge rust-lang/libm#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
bcafb03f6c update CONTRIBUTING 2018-07-13 23:34:37 -05:00
Erik
6536807106 implement log10 and log10f 2018-07-14 00:26:49 -04:00
bors[bot]
92ed777f9b Merge rust-lang/libm#81
81: implement log2 and log2f r=japaric a=erikdesjardins

closes rust-lang/libm#27, closes rust-lang/libm#28

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-14 04:15:31 +00:00
Erik
30c31d32d3 implement log2 and log2f 2018-07-13 23:53:58 -04:00
bors[bot]
664a00f9ac Merge rust-lang/libm#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
ea8d02ae0f make cargo fmt in ci/script.sh optional 2018-07-13 22:15:21 -05:00
Jorge Aparicio
131cc1ac44 run cargo fmt -- --check on beta 2018-07-13 22:10:08 -05:00
Jorge Aparicio
6e6642b48c force PR code to be formatted 2018-07-13 21:54:24 -05:00
Jorge Aparicio
8bdbe46072 run cargo-fmt 2018-07-13 21:51:07 -05:00
bors[bot]
56e1b0d52b Merge rust-lang/libm#77
77: adding ceilf and floorf  r=japaric a=jackmott

Finishes issues rust-lang/libm#56  and rust-lang/libm#54 

Co-authored-by: Jack Mott <jack.mott@gmail.com>
2018-07-14 02:35:57 +00:00
Jack Mott
6237ba2890 adding ceilf and floorf for issues rust-lang/libm#56 and rust-lang/libm#54 2018-07-13 21:32:59 -05:00
bors[bot]
127a907c48 Merge rust-lang/libm#74
74: Implement roundf r=japaric a=P1n3appl3

closes rust-lang/libm#32 

Co-authored-by: Joseph Ryan <josephryan3.14@gmail.com>
2018-07-14 01:54:32 +00:00
Joseph Ryan
6ed6ede4ab Merge remote-tracking branch 'upstream/master' 2018-07-13 20:51:17 -05:00
Joseph Ryan
bc94c70687 implement roundf 2018-07-13 20:46:09 -05:00
Jorge Aparicio
9a9522cf47 README: note that this crate is on crates.io and already usable 2018-07-13 20:25:27 -05:00
Jorge Aparicio
e6576930ef v0.1.0 2018-07-13 19:38:51 -05:00
bors[bot]
90393e5544 Merge rust-lang/libm#71
71: implement sqrt and hypot r=japaric a=erikdesjardins

closes rust-lang/libm#57, closes rust-lang/libm#22

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-13 23:13:20 +00:00
bors[bot]
3244e84c44 Merge rust-lang/libm#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
aaa56fba35 move a chunk of the README into CONTRIBUTING.md 2018-07-13 17:54:22 -05:00
Erik
892cd4f5b8 implement sqrt and hypot 2018-07-13 18:36:29 -04:00
bors[bot]
169dfb4ad7 Merge rust-lang/libm#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
bors[bot]
6b61c50db7 Merge rust-lang/libm#69
69: implement hypotf r=japaric a=erikdesjardins

closes rust-lang/libm#48

Co-authored-by: Erik <erikdesjardins@users.noreply.github.com>
2018-07-13 21:53:23 +00:00
Erik
6dbd8b3303 implement hypotf 2018-07-13 17:44:48 -04:00
bors[bot]
d80b5615e0 Merge rust-lang/libm#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
1ba1301250 catch panics in tests
so we can print the inputs that triggered the panic
2018-07-13 16:32:57 -05:00
Erik
ac1b398b4d seal extension traits to prevent external implementation 2018-07-13 16:33:16 -04:00
bors[bot]
4816a1501a Merge rust-lang/libm#65
65: implement trunc and truncf r=japaric a=erikdesjardins

closes rust-lang/libm#58, closes rust-lang/libm#59

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

closes rust-lang/libm#17 
closes rust-lang/libm#29 
closes rust-lang/libm#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
47afc3992f enable tests for floor and scalbn 2018-07-13 13:36:59 -05:00
Andrey Zgarbul
183e24fcac Merge branch 'master' of https://github.com/burrbull/libm 2018-07-13 21:06:13 +03:00
Andrey Zgarbul
7e419befa1 add floor, scalbn; fixes in expf, scalbnf 2018-07-13 21:02:11 +03:00
Jorge Aparicio
b8aae8ef23 enable tests for expf and logf 2018-07-13 11:16:43 -05:00
Andrey Zgarbul
505e4ce81c add exp and log/ln functions for f32 2018-07-13 11:10:41 +03:00
bors[bot]
2d2e8810d8 Merge rust-lang/libm#61
61: Implement `round` r=japaric a=notriddle

Fixes rust-lang/libm#31 

Co-authored-by: Michael Howell <michael@notriddle.com>
2018-07-13 01:44:18 +00:00
Michael Howell
9395c8002c 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
3accabd018 Enable f64::round 2018-07-13 01:34:52 +00:00
Michael Howell
50f9ad97a5 Implement round 2018-07-13 01:34:52 +00:00
bors[bot]
19ee60e7da Merge rust-lang/libm#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
f556a9bbb4 test source importing this crate 2018-07-12 20:19:42 -05:00
bors[bot]
a5db661cb1 Merge rust-lang/libm#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
7aafbaa604 add extension traits 2018-07-12 19:57:44 -05:00