bors[bot]
1e3afc4f1b
Merge rust-lang/libm#104
...
104: add more #[inline] r=japaric a=erikdesjardins
Some of these are pretty big so they may not get inlined in practice, but we might as well make them consistent with the rest.
Co-authored-by: Erik <erikdesjardins@users.noreply.github.com >
2018-07-14 20:57:09 +00:00
bors[bot]
f6bbea901b
Merge rust-lang/libm#100 rust-lang/libm#103
...
100: Implement expm1 r=japaric a=Veykril
~~Closes 13~~, closes rust-lang/libm#18 and ~~closes 14~~.
~~I wasn't sure where to put `__expo2(x: f64) -> f64` so I left it in `src/math/cosh.rs` for now.~~ Moved the function into it's own module.
Edit: Didn't see that `exp` was already done in a pull request, I'll take it out once rust-lang/libm#90 lands then.
103: implement fma r=japaric a=erikdesjardins
closes rust-lang/libm#19
Co-authored-by: Lukas Wirth <lukastw97@gmail.com >
Co-authored-by: Erik <erikdesjardins@users.noreply.github.com >
2018-07-14 20:42:52 +00:00
Lukas Wirth
f03a65b372
rustfmt
2018-07-14 22:41:48 +02:00
Erik
a377d0d79b
allow some functions to be inlined
2018-07-14 16:24:10 -04:00
Lukas Wirth
a4602adbb5
fix bit shifting error
2018-07-14 22:22:00 +02:00
bors[bot]
806168c85a
Merge rust-lang/libm#102
...
102: Add some extra notes to CONTRIBUTING r=japaric a=porglezomp
Co-authored-by: C Jones <code@calebjones.net >
2018-07-14 20:18:36 +00:00
Erik
65b49bb7a0
implement fma
2018-07-14 16:17:31 -04:00
C Jones
a60a31ab90
Add some extra notes to CONTRIBUTING
2018-07-14 15:51:37 -04:00
bors[bot]
76a8bcba39
Merge rust-lang/libm#91
...
91: Implement exp2 and exp2f r=japaric a=porglezomp
Closes rust-lang/libm#15
Closes rust-lang/libm#16
Co-authored-by: C Jones <code@calebjones.net >
2018-07-14 19:33:54 +00:00
C Jones
c3d29246bb
DRY up the exp2 and exp2f data tables
2018-07-14 15:31:22 -04:00
C Jones
62b9897c29
Implement exp2
2018-07-14 15:31:22 -04:00
C Jones
353409ada7
Add exp2f
2018-07-14 15:30:33 -04:00
Jorge Aparicio
7486cdb70e
Merge branch 'master' into master
2018-07-14 14:02:33 -05:00
Lukas Wirth
b544bc360f
fix missing changes
2018-07-14 20:59:41 +02:00
Lukas Wirth
c6aad03ae4
remove faulty cosh implementation
2018-07-14 20:51:39 +02:00
bors[bot]
18177f5599
Merge rust-lang/libm#84
...
84: Implement fmod r=japaric a=P1n3appl3
closes rust-lang/libm#21
I replaced the `isnanf()` function from `fmodf()` with a call to the core function `is_nan()`. If there's a reason we needed to re-implement it then I can change that back.
Also I couldn't figure out what to do in `src/lib.rs`. Is the `#[cfg(todo]` that I should be removing the one for `mod_euc()`? If so why is the equivalent one for the `f64` version still there?
Co-authored-by: Joseph Ryan <josephryan3.14@gmail.com >
Co-authored-by: Jorge Aparicio <jorge@japaric.io >
2018-07-14 18:51:34 +00:00
Jorge Aparicio
b566794827
Merge branch 'master' into master
2018-07-14 13:50:57 -05:00
Jorge Aparicio
c3906586cb
Merge branch 'master' into master
2018-07-14 13:48:22 -05:00
bors[bot]
380a8c0b0f
Merge rust-lang/libm#101
...
101: implement cbrt and cbrtf r=japaric a=erikdesjardins
closes rust-lang/libm#10 , closes rust-lang/libm#43
Co-authored-by: Erik <erikdesjardins@users.noreply.github.com >
2018-07-14 18:41:27 +00:00
Lukas Wirth
be219bee50
sync fork
2018-07-14 20:38:30 +02:00
Lukas Wirth
de0682bf64
remove exp
2018-07-14 20:36:28 +02:00
Erik
e228036053
implement cbrt and cbrtf
2018-07-14 14:07:14 -04:00
bors[bot]
932992a697
Merge rust-lang/libm#93
...
93: fdimf r=japaric a=jackmott
closes rust-lang/libm#47
Co-authored-by: Jack Mott <jack.mott@gmail.com >
2018-07-14 18:03:06 +00:00
Erik
08dabf5dca
implement exp
2018-07-14 13:37:27 -04:00
Jorge Aparicio
722e2e32cc
ci: don't test the master master
2018-07-14 12:20:10 -05:00
Lukas Wirth
92b7592ba2
add missing bitshift for __expo2 and move it into its own module
2018-07-14 19:14:56 +02:00
Lukas Wirth
85d7ebd422
sync fork
2018-07-14 18:56:20 +02:00
Jack Mott
6d5a9699c2
fix rebase merge
2018-07-14 11:51:46 -05:00
Lukas Wirth
8f93f40181
add lib.rs changes
2018-07-14 18:46:38 +02:00
Jack Mott
743f0152b7
rebase
2018-07-14 11:45:39 -05:00
Lukas Wirth
3a15b30d16
Implement cosh, exp and expm1
2018-07-14 18:31:28 +02:00
Jorge Aparicio
ebb89e686d
Merge branch 'master' into master
2018-07-14 11:30:47 -05:00
Jorge Aparicio
1eaffdc9a3
Merge branch 'master' into ceil
2018-07-14 11:18:56 -05:00
Jorge Aparicio
3d2e0819c1
Merge branch 'master' into separate-import
2018-07-14 10:59:40 -05:00
bors[bot]
97068d7b8d
Merge rust-lang/libm#67
...
67: cosf with corrections from review r=japaric a=burrbull
Co-authored-by: Andrey Zgarbul <zgarbul.andrey@gmail.com >
Co-authored-by: Zgarbul Andrey <zgarbul.andrey@gmail.com >
2018-07-14 15:45:45 +00:00
Lucas Marques
42e52da010
enable test generation for ceil
2018-07-14 12:17:48 -03:00
Lucas Marques
5c2409fcca
implement ceil
2018-07-14 12:17:48 -03:00
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
Jack Mott
643287e1f1
fdim
2018-07-14 06:20:13 -05:00
Jack Mott
480531461c
fdimf
2018-07-14 05:35:07 -05:00
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
Zgarbul Andrey
3dfbfec6c1
Merge branch 'master' into master
2018-07-14 10:05:32 +03:00
Opal
137d99d55b
Adding acos implementation
2018-07-14 19:00:47 +12:00
Zgarbul Andrey
9056c9c5e3
Merge branch 'master' into master
2018-07-14 09:38:50 +03:00
Andrey Zgarbul
d67c2c391b
cargo fmt
2018-07-14 09:33:46 +03:00
Erik
6548a83edf
add license and other comments to existing files
2018-07-14 02:26:19 -04:00
Andrey Zgarbul
d03ec1472b
revert changes
2018-07-14 09:17:41 +03:00
Erik
f73c61b762
implement log1p and log1pf
2018-07-14 02:13:12 -04:00
Andrey Zgarbul
ead2d02710
clean duplicates
2018-07-14 08:50:53 +03:00
Joseph Ryan
88faf19ca5
Run rustfmt
2018-07-14 00:44:36 -05:00