rust/src/libstd
Mazdak Farrokhzad 68597c7641
Rollup merge of #63698 - Phosphorus15:master, r=nagisa
Fixed floating point issue with asinh function

This should fixes #63271 , in which `asinh(-0.0)` returns `0.0` instead of `-0.0`.
according to @nagisa
>
>
> IEEE-754 (2008), section 9.2.1:
>
> > For the functions expm1, exp2m1, exp10m1, logp1, log2p1, log10p1, sin, tan, sinPi, atanPi, asin, atan, sinh, tanh, asinh, and atanh, f(+0) is +0 and f(−0) is −0 with no exception.
>
> and
>
> > sinh(±∞) and asinh(±∞) are ±∞ with no exception.

After ensuring that the function `asinh` is the only function affected (functions like `sin`, `sinh` are all based on `cmath` library or `llvm` intrinsics), and that `atanh` always gives the correct result. The only function to modify is `asinh`.
2019-08-27 08:17:49 +02:00
..
collections Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
ffi Fix for 7e13679. 2019-08-22 19:27:16 +02:00
io avoid unnecessary reservations in std::io::Take::read_to_end 2019-08-06 10:15:11 -04:00
net Fix typo in src/libstd/net/udp.rs doc comment 2019-07-18 21:03:56 +02:00
os Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
prelude Remove __rust_unstable_column 2019-08-15 22:58:57 +03:00
sync Handle cfg(bootstrap) throughout 2019-08-14 05:39:53 -04:00
sys Rollup merge of #63836 - Wind-River:master_003, r=alexcrichton 2019-08-26 23:55:46 +02:00
sys_common Rollup merge of #61969 - MikailBag:master, r=Centril 2019-08-11 15:18:38 -04:00
tests libstd => 2018 2019-02-28 04:06:15 +09:00
thread Auto merge of #61491 - stjepang:impls-for-accesserror, r=dtolnay 2019-08-05 15:30:40 +00:00
alloc.rs Fix intra-doc link resolution failure on re-exporting libstd 2019-05-04 23:48:57 +09:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
build.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
Cargo.toml std: Update backtrace crate dependency 2019-08-19 06:13:18 -07:00
env.rs docs: add stdlib env::var(_os) panic 2019-08-11 12:49:02 +01:00
error.rs Introduce built-in macros through libcore 2019-07-26 13:09:54 +03:00
f32.rs Rollup merge of #63698 - Phosphorus15:master, r=nagisa 2019-08-27 08:17:49 +02:00
f64.rs Rollup merge of #63698 - Phosphorus15:master, r=nagisa 2019-08-27 08:17:49 +02:00
fs.rs Add an overflow check in truncate implementation for Unix. 2019-08-06 19:35:54 +02:00
future.rs Hide gen_future API from documentation 2019-06-04 19:22:30 +02:00
keyword_docs.rs Stabilize 'async_await'. 2019-08-20 02:38:02 +02:00
lib.rs Rollup merge of #63613 - petrochenkov:stdhyg, r=alexcrichton 2019-08-16 18:22:30 +02:00
macros.rs Remove __rust_unstable_column 2019-08-15 22:58:57 +03:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Reexport IntErrorKind in std 2019-04-23 00:15:43 +02:00
panic.rs HashMap is UnwindSafe 2019-07-02 16:01:06 +02:00
panicking.rs Convert more usages over 2019-07-01 20:21:12 -07:00
path.rs Rollup merge of #61969 - MikailBag:master, r=Centril 2019-08-11 15:18:38 -04:00
primitive_docs.rs Update occurences of as_slice 2019-08-22 16:16:22 -03:00
process.rs std: Move a process test out of libstd 2019-06-27 07:54:53 -07:00
rt.rs libstd => 2018 2019-02-28 04:06:15 +09:00
time.rs SystemTime docs: recommend Instant for elapsed time 2019-07-28 11:08:39 +01:00