about summary refs log tree commit diff
path: root/src/libstd/num/f64.rs
AgeCommit message (Collapse)AuthorLines
2013-09-21std: add missing #[inline] annotation to the f64 neg method.Sébastien Crozet-0/+1
This was, somehow, missed by #8332.
2013-09-19Rename the NaN and is_NaN methods to lowercase.Chris Morgan-42/+42
This is for consistency in naming conventions. - ``std::num::Float::NaN()`` is changed to ``nan()``; - ``std::num::Float.is_NaN()`` is changed to ``is_nan()``; and - ``std::num::strconv::NumStrConv::NaN()`` is changed to ``nan()``. Fixes #9319.
2013-09-19auto merge of #9291 : jzelinskie/rust/remove-cond, r=alexcrichtonbors-18/+18
This is my first contribution, so please point out anything that I may have missed. I consulted IRC and settled on `match () { ... }` for most of the replacements.
2013-09-18Remove and replace cond! Closes #9282.Jimmy Zelinskie-18/+18
2013-09-18std: Remove {float,f64,f32}::from_str in favor of from_strblake2-ppc-60/+52
Like issue #9209, remove float::{from_str, from_str_radix} in favor of the two corresponding traits. The same for modules f64 and f32. New usage is from_str::<float>("1.2e34")
2013-09-12std: Add a bunch of Default implsErick Tryzelaar-0/+6
2013-08-30remove several 'ne' methodsEric Martin-2/+0
2013-08-28Disabled failing parts of abs_sub() and frexp() unit tests on Windows.Vadim Chugunov-0/+7
2013-08-27librustc: Ensure that type parameters are in the right positions in paths.Patrick Walton-66/+120
This removes the stacking of type parameters that occurs when invoking trait methods, and fixes all places in the standard library that were relying on it. It is somewhat awkward in places; I think we'll probably want something like the `Foo::<for T>::new()` syntax.
2013-08-20rm obsolete float to_str_radix free functionsDaniel Micay-24/+17
2013-08-19Add externfn macro and correctly label fixed_stack_segmentsNiko Matsakis-1/+1
2013-08-07std: add missing #[inline] annotation to the f64 arithmetic trait impls.Huon Wilson-0/+4
2013-07-08 Replaces the free-standing functions in f32, &c.Jens Nockert-48/+15
The free-standing functions in f32, f64, i8, i16, i32, i64, u8, u16, u32, u64, float, int, and uint are replaced with generic functions in num instead. If you were previously using any of those functions, just replace them with the corresponding function with the same name in num. Note: If you were using a function that corresponds to an operator, use the operator instead.
2013-07-01rustc: add a lint to enforce uppercase statics.Huon Wilson-0/+1
2013-06-30Specialize to_str_common for floats/integers in strconvAlex Crichton-11/+11
This allows the integral paths to avoid allocations on the heap Closes #4424, #4423
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-132/+132
2013-06-11std: convert pow, hypot, atan2, log to take arguments by reference.Huon Wilson-4/+4
2013-05-30Require documentation by default for libstdAlex Crichton-0/+2
Adds documentation for various things that I understand. Adds #[allow(missing_doc)] for lots of things that I don't understand.
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-1/+6
2013-05-29Changed to a more efficient implementation.Matthijs Hofstra-8/+2
2013-05-29Replaced calls to external fmin/fmax by a Rust implementation.Matthijs Hofstra-2/+15
2013-05-27syntax highlight code examples in docstringsDaniel Micay-1/+1
2013-05-23cleanup warnings from libstdErick Tryzelaar-1/+0
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+1295
This only changes the directory names; it does not change the "real" metadata names.