| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-22 | libstd: Rename libcore to libstd and libstd to libextra; update makefiles. | Patrick Walton | -1387/+0 | |
| This only changes the directory names; it does not change the "real" metadata names. | ||||
| 2013-05-17 | Implement sin_cos method for float, f64 and f32 | Brendan Zabarauskas | -0/+8 | |
| 2013-05-14 | Use static string with fail!() and remove fail!(fmt!()) | Björn Steinbrink | -1/+1 | |
| fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself. | ||||
| 2013-05-14 | Add ldexp and frexp functions | Brendan Zabarauskas | -1/+62 | |
| 2013-05-14 | Add inverse hyperbolic functions | Brendan Zabarauskas | -0/+82 | |
| 2013-05-08 | Remove #[cfg(notest)] and use #[cfg(not(test))] to cooincide with #[cfg(debug)] | Zack Corr | -9/+9 | |
| 2013-05-07 | Add is_normal and classify methods to Float trait | Brendan Zabarauskas | -15/+44 | |
| 2013-05-07 | Add abs_sub method to Signed trait | Brendan Zabarauskas | -1/+33 | |
| 2013-05-07 | Fix order of methods | Brendan Zabarauskas | -12/+13 | |
| 2013-05-07 | Implement exp_m1 and ln_1p as methods for Float | Brendan Zabarauskas | -7/+22 | |
| Both expm1 and ln1p have been renamed to exp_m1 and ln_1p in order to be consistent with the underscore usage elsewhere. The exp_m1 method is used for increased accuracy when doing floating point calculations, so this has been moved from the more general 'Exponential' trait into 'Float'. | ||||
| 2013-05-07 | Switch to using 'ln' for the natural logarithm and 'log' for arbitrary base ↵ | Brendan Zabarauskas | -9/+17 | |
| logarithms | ||||
| 2013-05-06 | Add assert_approx_eq! macro | Brendan Zabarauskas | -74/+65 | |
| 2013-05-06 | Move FuzzyEq trait into core::cmp and rename it to 'ApproxEq' | Brendan Zabarauskas | -0/+25 | |
| 2013-05-04 | Register snapshots | Brian Anderson | -6/+1 | |
| 2013-05-02 | libcore: Export core::from_str::FromStr from core::prelude | gifnksm | -2/+1 | |
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -10/+0 | |
| 2013-05-01 | Revert rename of Div to Quot | Brendan Zabarauskas | -7/+3 | |
| 2013-04-29 | Revert "Merge Exponential and Hyperbolic traits" | Brendan Zabarauskas | -0/+2 | |
| After discussions on IRC and #4819, we have decided to revert this change. This is due to the traits expressing different ideas and because hyperbolic functions are not trivially implementable from exponential functions for floating-point types. | ||||
| 2013-04-29 | Merge Exponential and Hyperbolic traits | Brendan Zabarauskas | -2/+0 | |
| The Hyperbolic Functions are trivially implemented in terms of `exp`, so it's simpler to group them the Exponential trait. In the future these would have default implementations. | ||||
| 2013-04-29 | Move appropriate functions out of Real and into separate Algebraic, ↵ | Brendan Zabarauskas | -69/+110 | |
| Trigonometric, Exponential and Hyperbolic traits | ||||
| 2013-04-27 | Propagate NaNs for Orderable methods impled on floating-point primitives | Brendan Zabarauskas | -5/+19 | |
| 2013-04-27 | Rename `nextafter` to `next_after` to match method name in Float | Brendan Zabarauskas | -2/+2 | |
| 2013-04-27 | Add additional constants to primitive floating point numbers | Brendan Zabarauskas | -0/+29 | |
| These follow the values defined in the C99 standard | ||||
| 2013-04-27 | Add mul_add and next_after methods to Float | Brendan Zabarauskas | -0/+16 | |
| 2013-04-27 | Add Orderable trait | Brendan Zabarauskas | -0/+29 | |
| This is a temporary trait until we have default methods. We don't want to encumber all implementors of Ord by requiring them to implement these functions, but at the same time we want to be able to take advantage of the speed of the specific numeric functions (like the `fmin` and `fmax` intrinsics). | ||||
| 2013-04-26 | Add Int, Uint and Float traits for primitive numbers | Brendan Zabarauskas | -12/+34 | |
| 2013-04-26 | Add Bitwise, Bounded, Primitive, and PrimitiveInt traits | Brendan Zabarauskas | -0/+14 | |
| 2013-04-26 | Minor style improvements for test functions | Brendan Zabarauskas | -1/+1 | |
| Use argument pattern-matching for test_division_rule and remove visibility specifier for test_signed | ||||
| 2013-04-26 | Use `///` doc-comment form instead of `/** */` | Brendan Zabarauskas | -155/+155 | |
| 2013-04-26 | Add is_zero method to Zero | Brendan Zabarauskas | -9/+11 | |
| 2013-04-25 | Restore Round trait and move appropriate methods out of Real | Brendan Zabarauskas | -25/+98 | |
| 2013-04-25 | Add Fractional, Real and RealExt traits | Brendan Zabarauskas | -26/+223 | |
| 2013-04-25 | Use #[cfg(not(stage0))] to exclude items from stage0 | Brendan Zabarauskas | -6/+2 | |
| As requested on the mailing list: https://mail.mozilla.org/pipermail/rust-dev/2013-April/003713.html | ||||
| 2013-04-25 | Move impls of `Num` out of core::num and clean up imports | Brendan Zabarauskas | -14/+10 | |
| 2013-04-24 | Implement Signed and Unsigned traits and remove related predicate functions | Brendan Zabarauskas | -60/+74 | |
| 2013-04-23 | inline the primitive numeric operations | Daniel Micay | -0/+9 | |
| 2013-04-22 | Rename Div operator trait to Quot and Modulo operator trait to Rem | Brendan Zabarauskas | -16/+29 | |
| 2013-04-21 | librustc: use LLVM intrinsics for several floating point operations. | Huon Wilson | -1/+1 | |
| Achieves at least 5x speed up for some functions! Also, reorganise the delegation code so that the delegated function wrappers have the #[inline(always)] annotation, and reduce the repetition of delegate!(..). | ||||
| 2013-04-19 | Use assert_eq! instead of assert! and remove extraneous parentheses | Brendan Zabarauskas | -96/+96 | |
| 2013-04-18 | Add #[inline(always)] to each operator method | Brendan Zabarauskas | -0/+12 | |
| 2013-04-16 | libcore,std,syntax,rustc: move tests into `mod tests`, make them private (no ↵ | Huon Wilson | -196/+199 | |
| pub mod or pub fn). | ||||
| 2013-04-14 | core: remove unnecessary unsafe blocks/functions | Alex Crichton | -6/+6 | |
| 2013-04-14 | Consolidate tests of numeric operations | Brendan Zabarauskas | -12/+0 | |
| 2013-04-14 | Generate NumCast impls and tests using macros | Brendan Zabarauskas | -70/+0 | |
| 2013-04-08 | libcore: from_str_common: provide option to ignore underscores. | Huon Wilson | -3/+3 | |
| Implement the possible improvement listed in the comment on from_str_bytes_common. | ||||
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -169/+169 | |
| 2013-03-28 | Removing unused imports | Alex Crichton | -1/+2 | |
| 2013-03-22 | librustc: Remove the `const` declaration form everywhere | Patrick Walton | -18/+18 | |
| 2013-03-22 | libcore: Remove `pure` from libcore. rs=depure | Patrick Walton | -60/+60 | |
| 2013-03-22 | librustc: Remove all uses of `static` from functions. rs=destatic | Patrick Walton | -5/+5 | |
