Alex Crichton
3110f741a6
Merge pull request rust-lang/libm#143 from mb64/wrapping-atan2
...
Fix the atan family of functions behavior with bounds checks
2019-05-02 14:32:22 -05:00
Alex Crichton
ef597e0e8f
Update some URLs
2019-05-02 12:31:48 -07:00
Alex Crichton
beac41a229
Merge pull request rust-lang/libm#142 from mb64/wrapping-sqrt
...
Change `sqrt` to use wrapping newtypes
2019-05-02 14:30:49 -05:00
Alex Crichton
9b63889bae
Merge pull request rust-lang/libm#128 from rrbutani/pow
...
Add some tests for pow
2019-05-02 14:23:47 -05:00
Alex Crichton
a7ca98487e
Add bindings for ldexp/ldexpf
...
Should help in fixing wasmerio/wasmer#407
2019-05-02 12:21:55 -07:00
Anna Bogus
6ab6ca024e
fixed some clippy warnings
2019-05-02 12:16:48 -07:00
Igor null
f4c572727a
fixed uint underflow in floorf for negative exponents
2019-05-02 12:14:30 -07:00
Mark Barbone
c981490c75
Modify atan2 to use wrapping_ ops
2019-05-02 12:13:26 -07:00
Alex Crichton
1cbbb87c89
Update contributing docs
2019-05-02 12:12:47 -07:00
Mark Barbone
d8cc6337f6
Change sqrt to use wrapping operations
2019-05-02 12:09:22 -07:00
Rahul Butani
7f76eda7b5
Use core for constants instead of std
...
(thanks @vks)
2019-05-02 12:08:30 -07:00
Rahul Butani
f52b7ea8f5
rustfmt'ed
2019-05-02 12:08:30 -07:00
Rahul Butani
770e0edb70
Some additional tests
2019-05-02 12:08:30 -07:00
Rahul Butani
399b9acdd2
Cleaned up + rustfmt'ed
2019-05-02 12:08:30 -07:00
Rahul Butani
272f92def5
Add some tests for pow
...
These probably aren't comprehensive but they cover all the edge cases identified in the original musl source.
2019-05-02 12:08:30 -07:00
Alex Crichton
c4468281d4
More azure config fixes
2019-05-02 12:05:02 -07:00
Alex Crichton
47a543171c
Run rustfmt
2019-05-02 11:44:58 -07:00
Alex Crichton
9cf8475f2f
Fix azure config
2019-05-02 11:41:20 -07:00
Alex Crichton
0656dec456
Delete stray test
2019-05-02 11:38:26 -07:00
Alex Crichton
8d79795d70
Overhaul tests
...
* Move everything to azure pipelines
* Inline docker configuration in this repo (no `cross`)
* Delete `no-panic` example, use `#[no_panic]` instead.
2019-05-02 11:37:21 -07:00
Alex Crichton
7cb4a204a2
Rework how testing is done
...
Use a build script to generate musl reference outputs and then ensure
that everything gets hooked up to actually run reference tests.
2019-05-02 10:48:55 -07:00
Alex Crichton
8560077059
Remove newlib generator
...
It's broken and we can try to add it back later if necessary
2019-05-02 08:12:23 -07:00
Alex Crichton
ae69253dc7
Move crates to crates folder
2019-05-02 08:12:00 -07:00
Alex Crichton
fa6d92bb41
Set up CI with Azure Pipelines
...
[skip ci]
2019-05-02 09:15:01 -05:00
Alex Crichton
3789bb1a98
Bump to 0.1.11
2019-04-30 10:08:23 -07:00
Goirad
63c0bd2522
Added missing fdim signature
2019-04-29 14:42:14 -07:00
Alex Crichton
76184c21e0
Add instructions for publishing
2019-04-08 07:55:09 -07:00
Alex Crichton
c2e2634223
Bump to 0.1.10
2019-04-08 07:52:05 -07:00
John Kåre Alsaker
36e4db0364
Update submodule for VS 2019 support
2019-04-08 16:30:33 +02:00
Alex Crichton
78d40ed30c
Update azure pipelines badge
2019-04-02 15:41:20 -05:00
Alex Crichton
26a01f97a8
Bump to 0.1.9
2019-04-02 13:05:56 -07:00
Alex Crichton
a6034d0b7b
More fixes for i686-mingw
2019-04-02 13:02:22 -07:00
Alex Crichton
44181b42f4
Attempt to fix MinGW targets
2019-04-02 12:51:36 -07:00
Alex Crichton
25692977a3
Merge pull request #277 from alexcrichton/less-wasi-sysm
...
Don't compile math symbols on wasm32-unknown-wasi
2019-04-02 14:44:24 -05:00
Alex Crichton
9772acb3cd
Re-enable all targets
2019-04-02 12:17:23 -07:00
Alex Crichton
b73fa4b764
Try to fix Windows
2019-04-02 12:12:29 -07:00
Alex Crichton
742b0330c5
Try to handle thumb targets and xargo
2019-04-02 11:54:20 -07:00
Alex Crichton
a2b87a1a7f
Generate a lock file before using Docker
...
Can't do it in the readonly filesystem inside!
2019-04-02 09:53:05 -07:00
Alex Crichton
7567d9ceb4
Don't pass -it to docker
2019-04-02 09:35:47 -07:00
Alex Crichton
95f4f0cd4e
Upgrade all docker containers to 18.04
2019-04-02 08:39:19 -07:00
Alex Crichton
cede5bc161
Expand Azure Pipelines configuration
2019-04-02 08:37:06 -07:00
Alex Crichton
b51f3d18a3
Configure Azure Pipelines
2019-04-02 08:24:11 -07:00
Alex Crichton
d3d3cc2126
Add sample azure pipelines configuration
2019-04-02 07:57:02 -07:00
Alex Crichton
a806c53b2c
Don't compile math symbols on wasm32-unknown-wasi
...
These are already provided by the C sysroot, so no need for us to
duplicate them!
2019-04-02 07:46:06 -07:00
Alex Crichton
a634eff280
Bump to 0.1.8
2019-03-21 07:52:59 -07:00
Alex Crichton
5a29b6d057
Merge pull request #276 from hug-dev/armv8m-support
...
Fix compilation errors for Armv8-M Baseline and Mainline with FPU
2019-03-14 09:15:10 -05:00
Hugues de Valon
b8413ddc32
Remove thumbv6m configuration of intrinsic example
...
It seems that the intrinsics that were generated for the functions in
example/intrinsics.rs where different implementations were given for
thumb6m-none-eabi target, have now been implemented in Rust so
configuration is not needed anymore.
2019-03-14 12:58:29 +00:00
Hugues de Valon
ae7b057cdb
Fix compilation for thumbv8m.main-none-eabihf
...
Some files were not assembling for the Armv8-M Mainline architecture
profile with FPU extension. Reason being the same as for Armv7-M: the
conversion intrinsics including double precision floating
point variables do not work with single precision FPUs.
Also removes from exclusion files that are assembling without errors for
Armv7-M and Armv8-M Mainline.
2019-03-14 12:58:29 +00:00
Hugues de Valon
e7c41f4a84
Fix Armv8-M Baseline compilation
...
Armv8-M Baseline, ie thumbv8m.base-none-eabi, is a superset of the
Armv6-M architecture profile. As it shares almost the same instruction
set, this commit copies the configuration for thumbv6m-none-eabi to
enable it.
2019-03-14 12:58:23 +00:00
Alex Crichton
8d0fdce9ca
Don't compile memory intrinsics on wasi
2019-03-13 08:23:25 -07:00