]> git.lizzy.rs Git - rust.git/commit
auto merge of #13735 : aturon/rust/float-consts-take-2, r=brson
authorbors <bors@rust-lang.org>
Fri, 25 Apr 2014 19:01:27 +0000 (12:01 -0700)
committerbors <bors@rust-lang.org>
Fri, 25 Apr 2014 19:01:27 +0000 (12:01 -0700)
commit6c3bdbe2e45739a5396316392ae3eb8c1d7a7434
tree62f92eb28defb0c6b97b6c9bbd96acb119eb7250
parent0be4c3372ab2208e3ae1ddec8b6f1231408265e2
parentb8da4d7704fc71c5cb97eb42459bc6d847e96ea6
auto merge of #13735 : aturon/rust/float-consts-take-2, r=brson

Follow-up on issue #13297 and PR #13710.  Instead of following the (confusing) C/C++ approach
of using `MIN_VALUE` for the smallest *positive* number, we introduce `MIN_POS_VALUE` (and
in the Float trait, `min_pos_value`) to represent this number.

This patch also removes a few remaining redundantly-defined constants that were missed last
time around.