C Jones
a7c4563633
Use separate imports instead of {}-grouped imports for better merges
...
Previously every merge would cause conflicts because the {}-group would re-flow,
which the merge algorithm can't handle. This will hopefully make rebases and
merges go more smoothly while everyone is still adding new modules.
2018-07-14 05:49:13 -04:00
Erik
f73c61b762
implement log1p and log1pf
2018-07-14 02:13:12 -04:00
Opal
83673acaa4
Add log implementation.
...
Fixes rust-lang/libm#23
2018-07-14 17:25:20 +12:00
Erik
6536807106
implement log10 and log10f
2018-07-14 00:26:49 -04:00
Erik
30c31d32d3
implement log2 and log2f
2018-07-13 23:53:58 -04: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
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
Erik
892cd4f5b8
implement sqrt and hypot
2018-07-13 18:36:29 -04:00
Erik
6dbd8b3303
implement hypotf
2018-07-13 17:44:48 -04:00
Erik
8cdd267830
implement trunc and truncf
2018-07-13 16:04:30 -04:00
Andrey Zgarbul
7e419befa1
add floor, scalbn; fixes in expf, scalbnf
2018-07-13 21:02:11 +03:00
Andrey Zgarbul
505e4ce81c
add exp and log/ln functions for f32
2018-07-13 11:10:41 +03: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
50f9ad97a5
Implement round
2018-07-13 01:34:52 +00:00
Jorge Aparicio
a9e7740260
re-structure for compiler-builtins integration
2018-07-12 19:16:50 -05:00