<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libstd/num/num.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-11-03T12:49:01+00:00</updated>
<entry>
<title>Rename files to match current recommendations.</title>
<updated>2013-11-03T12:49:01+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>me@chrismorgan.info</email>
</author>
<published>2013-10-29T06:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0369a41f0e668eda5622055253b91dbb5254f0b4'/>
<id>urn:sha1:0369a41f0e668eda5622055253b91dbb5254f0b4</id>
<content type='text'>
New standards have arisen in recent months, mostly for the use of
rustpkg, but the main Rust codebase has not been altered to match these
new specifications. This changeset rectifies most of these issues.

- Renamed the crate source files `src/libX/X.rs` to `lib.rs`, for
  consistency with current styles; this affects extra, rustc, rustdoc,
  rustpkg, rustuv, std, syntax.

- Renamed `X/X.rs` to `X/mod.rs,` as is now recommended style, for
  `std::num` and `std::terminfo`.

- Shifted `src/libstd/str/ascii.rs` out of the otherwise unused `str`
  directory, to be consistent with its import path of `std::ascii`;
  libstd is flat at present so it's more appropriate thus.

While this removes some `#[path = "..."]` directives, it does not remove
all of them, and leaves certain other inconsistencies, such as `std::u8`
et al. which are actually stored in `src/libstd/num/` (one subdirectory
down). No quorum has been reached on this issue, so I felt it best to
leave them all alone at present. #9208 deals with the possibility of
making libstd more hierarchical (such as changing the crate to match the
current filesystem structure, which would make the module path
`std::num::u8`).

There is one thing remaining in which this repository is not
rustpkg-compliant: rustpkg would have `src/std/` et al. rather than
`src/libstd/` et al. I have not endeavoured to change that at this point
as it would guarantee prompt bitrot and confusion. A change of that
magnitude needs to be discussed first.
</content>
</entry>
<entry>
<title>Capitalize statics in f32 and f64 mods</title>
<updated>2013-10-29T02:35:56+00:00</updated>
<author>
<name>Ziad Hatahet</name>
<email>hatahet@gmail.com</email>
</author>
<published>2013-10-29T00:34:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3797f2bfe63ca618702607b0dd3f714f8fab99f3'/>
<id>urn:sha1:3797f2bfe63ca618702607b0dd3f714f8fab99f3</id>
<content type='text'>
Fixes #10077
</content>
</entry>
<entry>
<title>Fixed example comment for num::cast().</title>
<updated>2013-10-17T05:33:31+00:00</updated>
<author>
<name>Ziad Hatahet</name>
<email>hatahet@gmail.com</email>
</author>
<published>2013-10-17T05:33:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=256913eb328027cb098aea0f231cc0e245f56714'/>
<id>urn:sha1:256913eb328027cb098aea0f231cc0e245f56714</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added comments to public functions in num.rs.</title>
<updated>2013-10-17T03:03:01+00:00</updated>
<author>
<name>Vijay Korapaty</name>
<email>rust@korapaty.com</email>
</author>
<published>2013-09-24T17:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5e1ccc66e1f3f2ce7b3b21a1e380488edad32d65'/>
<id>urn:sha1:5e1ccc66e1f3f2ce7b3b21a1e380488edad32d65</id>
<content type='text'>
Copied existing comments from other files, and added comments to
functions that did not have existing comments available.
</content>
</entry>
<entry>
<title>Fix float to float ToPrimitive implementation.</title>
<updated>2013-10-08T19:49:35+00:00</updated>
<author>
<name>Sébastien Crozet</name>
<email>developer@crozet.re</email>
</author>
<published>2013-10-08T18:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8ac0d0a59ee47d9f8027955ca13f545f89bcc687'/>
<id>urn:sha1:8ac0d0a59ee47d9f8027955ca13f545f89bcc687</id>
<content type='text'>
The mimimum (negative) value of a float is -Bounded::max_value(), not Bounded::min_value().
</content>
</entry>
<entry>
<title>std: fix an infinite loop in num::ToPrimitive and add tests</title>
<updated>2013-10-08T02:56:30+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-10-08T02:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6dfc5d5de1c933a030618e6dcf20a1c3027fe846'/>
<id>urn:sha1:6dfc5d5de1c933a030618e6dcf20a1c3027fe846</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: add Primitive.is_signed</title>
<updated>2013-10-05T20:59:06+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-09-28T03:41:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41f9deb2ee660cf45bc583171cc7c43a4b3ef4d5'/>
<id>urn:sha1:41f9deb2ee660cf45bc583171cc7c43a4b3ef4d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: ToPrimitive's default impls should use `.to_*()`</title>
<updated>2013-10-05T20:59:06+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-09-28T00:09:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=50fde8c024a30d01ed54a2d40eab7399bf1e7a3c'/>
<id>urn:sha1:50fde8c024a30d01ed54a2d40eab7399bf1e7a3c</id>
<content type='text'>
This allows the default methods to be properly range checked.
</content>
</entry>
<entry>
<title>std: fix some warnings</title>
<updated>2013-10-05T20:59:05+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-09-27T05:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=da145b237241345a9b14531d37f290082c4fb5f0'/>
<id>urn:sha1:da145b237241345a9b14531d37f290082c4fb5f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std: check bounds for ints/uints in {To,From}Primitive</title>
<updated>2013-10-05T20:59:05+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2013-09-26T03:22:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb240197441723fed70e4076d9eba460d8f209ba'/>
<id>urn:sha1:cb240197441723fed70e4076d9eba460d8f209ba</id>
<content type='text'>
</content>
</entry>
</feed>
