<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/num, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-11-01T17:08:24+00:00</updated>
<entry>
<title>std: Flatten the num directory to reflect the module layout</title>
<updated>2016-11-01T17:08:24+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2016-10-01T23:07:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6135cbc9e2b9a7e62ae274cf57e9921f60f6ec73'/>
<id>urn:sha1:6135cbc9e2b9a7e62ae274cf57e9921f60f6ec73</id>
<content type='text'>
This makes it dissimilar to how core is structured on disk, but
more predictable on its own.
</content>
</entry>
<entry>
<title>Use `#[prelude_import]` in `libstd`.</title>
<updated>2016-08-24T22:12:48+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-08-22T19:47:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9a2c8783d91624261317316f996d8d2d09b7b6a4'/>
<id>urn:sha1:9a2c8783d91624261317316f996d8d2d09b7b6a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Stabilize APIs for the 1.11.0 release</title>
<updated>2016-07-03T17:49:01+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-06-28T15:56:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3016626c3aa4bc44807e54a8ba8b9e367ff566f5'/>
<id>urn:sha1:3016626c3aa4bc44807e54a8ba8b9e367ff566f5</id>
<content type='text'>
Although the set of APIs being stabilized this release is relatively small, the
trains keep going! Listed below are the APIs in the standard library which have
either transitioned from unstable to stable or those from unstable to
deprecated.

Stable

* `BTreeMap::{append, split_off}`
* `BTreeSet::{append, split_off}`
* `Cell::get_mut`
* `RefCell::get_mut`
* `BinaryHeap::append`
* `{f32, f64}::{to_degrees, to_radians}` - libcore stabilizations mirroring past
  libstd stabilizations
* `Iterator::sum`
* `Iterator::product`

Deprecated

* `{f32, f64}::next_after`
* `{f32, f64}::integer_decode`
* `{f32, f64}::ldexp`
* `{f32, f64}::frexp`
* `num::One`
* `num::Zero`

Added APIs (all unstable)

* `iter::Sum`
* `iter::Product`
* `iter::Step` - a few methods were added to accomodate deprecation of One/Zero

Removed APIs

* `From&lt;Range&lt;T&gt;&gt; for RangeInclusive&lt;T&gt;` - everything about `RangeInclusive` is
  unstable

Closes #27739
Closes #27752
Closes #32526
Closes #33444
Closes #34152
cc #34529 (new tracking issue)
</content>
</entry>
<entry>
<title>Use the correct types in float examples</title>
<updated>2016-06-22T22:33:07+00:00</updated>
<author>
<name>Oliver Middleton</name>
<email>olliemail27@gmail.com</email>
</author>
<published>2016-06-22T22:33:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f1531254af9aa8950ca9f25b1f93903351d3f932'/>
<id>urn:sha1:f1531254af9aa8950ca9f25b1f93903351d3f932</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: don't assume anything about the sign of NAN.</title>
<updated>2016-06-05T16:17:42+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2016-06-01T06:00:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=27673610a60c4aa538a92647ec9125b04f653fe4'/>
<id>urn:sha1:27673610a60c4aa538a92647ec9125b04f653fe4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Deprecate {f32,f64}::abs_sub.</title>
<updated>2016-05-16T22:06:56+00:00</updated>
<author>
<name>Huon Wilson</name>
<email>dbau.pp+github@gmail.com</email>
</author>
<published>2016-05-16T04:26:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb67f492debf2ea7671d3859c42356cf43859de1'/>
<id>urn:sha1:eb67f492debf2ea7671d3859c42356cf43859de1</id>
<content type='text'>
The abs_sub name is misleading: the function actually computes the
positive difference (`fdim` in C), not the `(x - y).abs()` that *many* people expect
from the name.

This function can be replaced with just `(x - y).max(0.0)`, mirroring
the `abs` version, but this behaves differently with NAN: `NAN.max(0.0)
== 0.0`, while `NAN.positive_diff(0.0) == NAN`. People who absolutely
need that behaviour can use the C function directly and/or talk to the libs
team (we haven't encountered a concrete use-case for this functionality).

Closes #30315.
</content>
</entry>
<entry>
<title>Implement RFC 1542</title>
<updated>2016-05-07T15:52:41+00:00</updated>
<author>
<name>Steven Fackler</name>
<email>sfackler@gmail.com</email>
</author>
<published>2016-05-05T05:42:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9779df1886e18923f40cf0bb67ab72d4e4942df'/>
<id>urn:sha1:a9779df1886e18923f40cf0bb67ab72d4e4942df</id>
<content type='text'>
cc #33417
</content>
</entry>
<entry>
<title>std: Add compatibility with android-9</title>
<updated>2016-04-27T16:28:48+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2016-04-25T20:39:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c31e2e77ed955faafffe7b22859f045cc1e5deec'/>
<id>urn:sha1:c31e2e77ed955faafffe7b22859f045cc1e5deec</id>
<content type='text'>
The Gecko folks currently use Android API level 9 for their builds, so they're
requesting that we move back our minimum supported API level from 18 to 9. Turns
out, ABI-wise at least, there's not that many changes we need to take care of.
The `ftruncate64` API appeared in android-12 and the `log2` and `log2f` APIs
appeared in android-18. We can have a simple shim for `ftruncate64` which falls
back on `ftruncate` and the `log2` function can be approximated with just
`ln(f) / ln(2)`.

This should at least get the standard library building on API level 9, although
the tests aren't quite happening there just yet. As we seem to be growing a
number of Android compatibility shims, they're now centralized in a common
`sys::android` module.
</content>
</entry>
<entry>
<title>Fix f32::sin_cos and f64::sin_cos examples</title>
<updated>2016-04-16T06:42:37+00:00</updated>
<author>
<name>Maxim Samburskiy</name>
<email>samburskiy.maxim@gmail.com</email>
</author>
<published>2016-04-16T06:42:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c1db18b54ef123b5db4e13ab00e682deff1a1e69'/>
<id>urn:sha1:c1db18b54ef123b5db4e13ab00e682deff1a1e69</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fallout in existing tests</title>
<updated>2016-03-25T10:45:42+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2016-03-11T18:36:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56ebf2b046fd4f0b9d05a90ff1e8a38b62be0325'/>
<id>urn:sha1:56ebf2b046fd4f0b9d05a90ff1e8a38b62be0325</id>
<content type='text'>
</content>
</entry>
</feed>
