about summary refs log tree commit diff
path: root/src/test/stdtest/float.rs
AgeCommit message (Collapse)AuthorLines
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+3
2011-11-15Replaced constant functions with actual constants in std and updated testsStefan Plantikow-16/+16
Fixes issue #1165
2011-10-30Make float::from_str ignore whitespace (#1089)Matt Brubeck-1/+22
Discard leading and trailing whitespace, for consistency with C/JS/Java/etc. Also, don't allow floating point numbers that start or end with 'e'.
2011-10-28Change behavior of float::nonpositive/nonnegativeMatt Brubeck-2/+2
Rather than being defined as !positive and !negative, these should act the same as negative and positive (respectively). The only effect of this change should be that all four functions will now return false for NaN.
2011-10-28Use IEEE 754 semantics for NaN (Issue #1084)Matt Brubeck-1/+25
2011-10-28+0.0 should be positive and -0.0 should be negative.Matt Brubeck-0/+19
2011-10-12[Tests] added float testsDavid Rajchenbach-Teller-0/+19