<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcoretest/num/mod.rs, branch 1.0.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.0.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2015-04-23T22:18:14+00:00</updated>
<entry>
<title>std: Bring back f32::from_str_radix as an unstable API</title>
<updated>2015-04-23T22:18:14+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-04-18T06:45:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1c9aa362292555566e4ff8366f574b70ff59d5c8'/>
<id>urn:sha1:1c9aa362292555566e4ff8366f574b70ff59d5c8</id>
<content type='text'>
This API was exercised in a few tests and mirrors the `from_str_radix`
functionality of the integer types.

Conflicts:
	src/doc/trpl/traits.md
	src/libstd/sys/windows/fs2.rs
</content>
</entry>
<entry>
<title>Remove integer suffixes where the types in compiled code are identical.</title>
<updated>2015-03-05T07:08:33+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2015-03-03T08:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e64670888a2839ba75237b1934c440c4c319b1bb'/>
<id>urn:sha1:e64670888a2839ba75237b1934c440c4c319b1bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Accommodate arith-overflow in `core::num`, `std::num`, `coretest::num`.</title>
<updated>2015-03-03T11:10:57+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2015-02-19T14:14:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c8db89aa82573b89481fde598da6e54371f266cb'/>
<id>urn:sha1:c8db89aa82573b89481fde598da6e54371f266cb</id>
<content type='text'>
 * `core::num`: adjust `UnsignedInt::is_power_of_two`,
   `UnsignedInt::next_power_of_two`, `Int::pow`.

   In particular for `Int::pow`: (1.) do not panic when `base`
   overflows if `acc` never observes the overflowed `base`, and (2.)
   if `acc` does observe the overflowed `base`, make sure we only
   panic if we would have otherwise (e.g. during a computation of
   `base * base`).

 * also in `core::num`: avoid underflow during computation of `uint::MAX`.

 * `std::num`: adjust tests `uint::test_uint_from_str_overflow`,
   `uint::test_uint_to_str_overflow`, `strconv`

 * `coretest::num`: adjust `test::test_int_from_str_overflow`.
</content>
</entry>
<entry>
<title>Remove int/uint from libstd/lib.rs</title>
<updated>2015-03-01T12:03:44+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume1.gomez@gmail.com</email>
</author>
<published>2015-02-27T00:43:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df126589b91c7b60e2426b46c5a8b14d7d04f667'/>
<id>urn:sha1:df126589b91c7b60e2426b46c5a8b14d7d04f667</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing `fn`</title>
<updated>2015-02-24T07:24:42+00:00</updated>
<author>
<name>Michał Krasnoborski</name>
<email>mkrdln@gmail.com</email>
</author>
<published>2015-02-24T07:24:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a9f6f4b73e838e83538d4544141d8354b4633aed'/>
<id>urn:sha1:a9f6f4b73e838e83538d4544141d8354b4633aed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop parsing "-" as integer, fixes #22745</title>
<updated>2015-02-24T05:04:49+00:00</updated>
<author>
<name>Michał Krasnoborski</name>
<email>mkrdln@gmail.com</email>
</author>
<published>2015-02-24T01:40:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=948a17ed1d61de822a7d06527ca88b1ff709f945'/>
<id>urn:sha1:948a17ed1d61de822a7d06527ca88b1ff709f945</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rollup merge of #21631: tbu-/isize_police</title>
<updated>2015-01-30T21:27:02+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-30T20:14:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=188d7c0bc36e69b99f6bdefd613027e53fa8b2d0'/>
<id>urn:sha1:188d7c0bc36e69b99f6bdefd613027e53fa8b2d0</id>
<content type='text'>
Conflicts:
	src/libcoretest/iter.rs
</content>
</entry>
<entry>
<title>std: Stabilize FromStr and parse</title>
<updated>2015-01-30T16:52:44+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-28T06:52:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0cdde6e5e015ee6f6d9381ab624a312af7c9b069'/>
<id>urn:sha1:0cdde6e5e015ee6f6d9381ab624a312af7c9b069</id>
<content type='text'>
This commits adds an associated type to the `FromStr` trait representing an
error payload for parses which do not succeed. The previous return value,
`Option&lt;Self&gt;` did not allow for this form of payload. After the associated type
was added, the following attributes were applied:

* `FromStr` is now stable
* `FromStr::Err` is now stable
* `FromStr::from_str` is now stable
* `StrExt::parse` is now stable
* `FromStr for bool` is now stable
* `FromStr for $float` is now stable
* `FromStr for $integral` is now stable
* Errors returned from stable `FromStr` implementations are stable
* Errors implement `Display` and `Error` (both impl blocks being `#[stable]`)

Closes #15138
</content>
</entry>
<entry>
<title>Remove all `i` suffixes</title>
<updated>2015-01-30T03:38:54+00:00</updated>
<author>
<name>Tobias Bucher</name>
<email>tobiasbucher5991@gmail.com</email>
</author>
<published>2015-01-25T21:05:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f64fe4e27555c256cb228feb05d4181a2287125'/>
<id>urn:sha1:7f64fe4e27555c256cb228feb05d4181a2287125</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: Rename Show/String to Debug/Display</title>
<updated>2015-01-21T06:36:13+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-01-20T23:45:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3cb9fa26ef9905c00a29ea577fb55a12a91c8e7b'/>
<id>urn:sha1:3cb9fa26ef9905c00a29ea577fb55a12a91c8e7b</id>
<content type='text'>
This commit is an implementation of [RFC 565][rfc] which is a stabilization of
the `std::fmt` module and the implementations of various formatting traits.
Specifically, the following changes were performed:

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0565-show-string-guidelines.md

* The `Show` trait is now deprecated, it was renamed to `Debug`
* The `String` trait is now deprecated, it was renamed to `Display`
* Many `Debug` and `Display` implementations were audited in accordance with the
  RFC and audited implementations now have the `#[stable]` attribute
  * Integers and floats no longer print a suffix
  * Smart pointers no longer print details that they are a smart pointer
  * Paths with `Debug` are now quoted and escape characters
* The `unwrap` methods on `Result` now require `Display` instead of `Debug`
* The `Error` trait no longer has a `detail` method and now requires that
  `Display` must be implemented. With the loss of `String`, this has moved into
  libcore.
* `impl&lt;E: Error&gt; FromError&lt;E&gt; for Box&lt;Error&gt;` now exists
* `derive(Show)` has been renamed to `derive(Debug)`. This is not currently
  warned about due to warnings being emitted on stage1+

While backwards compatibility is attempted to be maintained with a blanket
implementation of `Display` for the old `String` trait (and the same for
`Show`/`Debug`) this is still a breaking change due to primitives no longer
implementing `String` as well as modifications such as `unwrap` and the `Error`
trait. Most code is fairly straightforward to update with a rename or tweaks of
method calls.

[breaking-change]
Closes #21436
</content>
</entry>
</feed>
