diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-04-24 17:09:58 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-04-24 17:13:33 -0700 |
| commit | b8da4d7704fc71c5cb97eb42459bc6d847e96ea6 (patch) | |
| tree | 6a5ba3ff9b83364ffc59dee834f4b77af4510fda /src/rustllvm/RustWrapper.cpp | |
| parent | b55394415ab63adf32036f63595f3bba3e1c9098 (diff) | |
| download | rust-b8da4d7704fc71c5cb97eb42459bc6d847e96ea6.tar.gz rust-b8da4d7704fc71c5cb97eb42459bc6d847e96ea6.zip | |
add min_pos_value constant for floats
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
