| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-09-08 | Revert "Add clamp functions" | Jacob Kiesel | -20/+0 | |
| This reverts commit c589f867f89d4e6e48c6602aed8e878208d4822f. | ||||
| 2017-09-08 | Revert "Add NAN examples" | Jacob Kiesel | -1/+0 | |
| This reverts commit f74c5d2e18e50c24de2cc1192bf2088cdaa61916. | ||||
| 2017-09-08 | Revert "Fix f32 examples." | Jacob Kiesel | -4/+2 | |
| This reverts commit 61f20f8df02e53ee60dc1719ce0e502eecebf8b4. | ||||
| 2017-09-08 | Revert "Fix documentation and formatting." | Jacob Kiesel | -4/+1 | |
| This reverts commit 2e34ff767113c6a15c5862b0646ca9ad7ffd81b1. | ||||
| 2017-09-08 | Revert "Add panic unit tests" | Jacob Kiesel | -18/+0 | |
| This reverts commit b762283e57ff71f6763effb9cfc7fc0c7967b6b0. | ||||
| 2017-09-04 | Add panic unit tests | Jacob Kiesel | -0/+18 | |
| 2017-09-01 | Fix documentation and formatting. | Jacob Kiesel | -1/+4 | |
| 2017-08-26 | Fix f32 examples. | Jacob Kiesel | -2/+4 | |
| 2017-08-26 | Add NAN examples | Jacob Kiesel | -0/+1 | |
| 2017-08-26 | Add clamp functions | Jacob Kiesel | -0/+20 | |
| 2017-07-18 | float_bits_conv made it into 1.20 | est31 | -2/+2 | |
| 2017-07-06 | Stabilize float_bits_conv | est31 | -4/+2 | |
| 2017-07-03 | Make sNaN removal code tolerate different sNaN encodings | est31 | -8/+16 | |
| IEEE 754-1985 specifies the encoding of NaN floating point numbers, but while it mentions that NaNs can be subdivided into signaling and quiet ones, it doesn't fix the encoding of signaling NaNs in binary formats. This led to different implementations (CPUs) having different encodings. IEEE 754-2008 finally specified the encoding of signaling NaNs but some architectures are compatible with it, while others aren't. Certain MIPS and PA-RISC CPUs have different encodings for signaling NaNs. In order to have the float <-> binary cast feature of the std library be portable to them, we don't mask any quiet NaNs like we did before (only being compliant to IEEE 754-2008 and nothing else), but instead we simply pass a known good NaN instead. Note that in the code removed there was a bug; the 64 bit mask for quiet NaNs should have been `0x0008000000000000` instead of the specified `0x0001000000000000`. | ||||
| 2017-06-28 | Auto merge of #42431 - nagisa:core-float-2, r=alexcrichton | bors | -16/+8 | |
| Fix NaN handling in is_sign_negative/positive This would be my proposed fix for the #42425 provided we decide it is indeed a problem. Note this would technically be a breaking change to a stable API. We might want to consider deprecating these methods and adding new ones. | ||||
| 2017-06-22 | Fix NaN handling in is_sign_negative/positive | Simonas Kazlauskas | -16/+8 | |
| See #42425 | ||||
| 2017-06-14 | Re-implement float min/max in rust | Simonas Kazlauskas | -4/+2 | |
| See #42423 | ||||
| 2017-04-22 | Remove unused import. | Corey Farwell | -1/+1 | |
| 2017-04-20 | Remove float_extras | Josh Stone | -204/+0 | |
| [unstable, deprecated since 1.11.0] | ||||
| 2017-04-18 | Allow us to remove masking in the future | est31 | -2/+2 | |
| 2017-04-18 | Preserve sNaN payload when converting them to quiet NaNs | est31 | -7/+25 | |
| 2017-04-18 | Convert sNaN to quiet NaN instead of returning errors | est31 | -12/+18 | |
| 2017-04-18 | assert_ne and tracking issue | est31 | -3/+3 | |
| 2017-04-18 | Add examples heading | est31 | -0/+4 | |
| 2017-04-18 | Return Err(()) when trying to convert sNaN representation to float | est31 | -7/+17 | |
| 2017-04-18 | Add functions to safely transmute float to int | est31 | -0/+51 | |
| 2017-04-11 | Improve module description for std::f32 and std::f64. | Paul Lange | -1/+3 | |
| Fixes #29353 | ||||
| 2017-02-21 | Get linkchecker clean | Steve Klabnik | -1/+1 | |
| This affects the book, some missed things in the reference, the grammar, and the standard library. Whew! | ||||
| 2016-11-01 | std: Flatten the num directory to reflect the module layout | Brian Anderson | -0/+1871 | |
| This makes it dissimilar to how core is structured on disk, but more predictable on its own. | ||||
