about summary refs log tree commit diff
path: root/src/lib/float.rs
AgeCommit message (Collapse)AuthorLines
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-350/+0
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-15Replaced constant functions with actual constants in std and updated testsStefan Plantikow-22/+16
Fixes issue #1165
2011-11-10Add float support to #fmt. Fix #1014.Josh Matthews-4/+37
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-4/+5
Remove implicit copying hack. Closes #1118
2011-10-30Make float::from_str ignore whitespace (#1089)Matt Brubeck-3/+21
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-6/+28
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-0/+3
2011-10-28+0.0 should be positive and -0.0 should be negative.Matt Brubeck-6/+6
2011-10-27Add std documentation for float and u8 functionsMatt Brubeck-0/+15
2011-10-27Add function aliases for float operatorsMatt Brubeck-0/+30
2011-10-25Begin documenting std and add doc generation using naturaldocsBrian Anderson-28/+56
Naturaldocs isn't really that great but it seems easier to get something working than with doxygen, for which we would need to convert rust code to something C++ish. We probably want to just write a rustdoc utility at some point.
2011-10-21Clean up character pattern in float.rsMarijn Haverbeke-1/+1
This is actually a test to see if I fixed the bot.
2011-10-12[Renaming] str_to_float is now float::from_str, float_to_str is now ↵David Rajchenbach-Teller-2/+2
float::to_str
2011-10-12[Fix] float.rs: str_to_float reimplementedDavid Rajchenbach-Teller-14/+177
2011-10-11[Move] Moved str_to_float, float_to_str from compiler to libDavid Rajchenbach-Teller-0/+44