Commit Graph

  • a4d234c253 Further simplify float-to-int range checks Josh Stone 2018-03-13 13:38:17 -0700
  • f0ed42b3bc Test edge cases of ToPrimitive with ints Josh Stone 2018-03-11 01:37:27 -0800
  • 50868c60d2 Refactor to_primitive_int/uint macros Josh Stone 2018-03-11 01:37:00 -0800
  • 6d7bbb1b53 Mask debug prints no-std mode Josh Stone 2018-03-11 01:36:17 -0800
  • d195eafbe2 Simplify the to_primitive_float macros Josh Stone 2018-03-10 23:33:47 -0800
  • f6dc4d29a4 Add thorough tests of float to int edge cases Josh Stone 2018-03-10 23:05:02 -0800
  • b025c273c7 Rewrite range checks in float ToPrimitive macros Josh Stone 2018-03-10 23:01:30 -0800
  • 8e27c7327d Rename some tests. Dan Barella 2018-01-29 19:44:43 -0500
  • aab7098acd Reformat macros. Dan Barella 2018-01-29 19:38:31 -0500
  • c32cb5c65b Patch in apopiak@'s changes from github.com/rust-num/num/pull/135/. Alexander Popiak 2018-01-29 19:15:56 -0500
  • ab8fda7654 Change assert form. Dan Barella 2018-01-29 19:03:12 -0500
  • ecb0816c83 Remove an unneeded assert. Dan Barella 2018-01-29 18:52:02 -0500
  • 3534a89858 Don't use assert_ne! Dan Barella 2018-01-27 15:55:17 -0500
  • f99aa0e181 Check overflow when casting floats to integers. Dan Barella 2018-01-27 15:41:06 -0500
  • b0ffbf317a Add Zero::is_nonzero. Clar Charr 2018-03-05 16:25:47 -0500
  • c5e2025c62
    Merge 8dcf2d2287 into aa36cdb206 Dan Barella 2018-03-04 17:05:14 +0000
  • e97cd5debd
    Merge 53e56535f2 into aa36cdb206 Jim Turner 2018-03-04 00:02:25 +0000
  • 53e56535f2 Add Default constraint to PrimInt Jim Turner 2018-03-03 18:56:14 -0500
  • aa36cdb206 Merge #42 num-traits-0.2.1 bors[bot] 2018-03-01 23:29:38 +0000
  • ab0de9c329 Release 0.2.1 Josh Stone 2018-03-01 14:20:57 -0800
  • 5f906234bc Merge #41 bors[bot] 2018-03-01 20:57:29 +0000
  • 04a3f2a591 Comment the Rust version for NAN.is_sign_* behavior Josh Stone 2018-02-28 11:43:55 -0800
  • 080f6f259e Comment the i32::MIN case for FloatCore::powi Josh Stone 2018-02-28 11:33:34 -0800
  • aa9ceba628 Add doctests to FloatCore Josh Stone 2018-02-27 22:12:37 -0800
  • ec3cd50f3d Weaken the std f32::to_degrees/to_radians tests Josh Stone 2018-02-27 22:10:46 -0800
  • ac6eca4b66 Use more FloatCore in src/sign.rs Josh Stone 2018-02-27 21:50:44 -0800
  • 36c7e324db Fix FloatCore::powi with i32::MIN exponent Josh Stone 2018-02-27 21:34:01 -0800
  • 964a7e52a8 Reinstate NAN-sign fixes in FloatCore Josh Stone 2018-02-27 21:03:30 -0800
  • 8d16921579 allow unused macros Josh Stone 2018-02-27 17:08:35 -0800
  • 6fa29be7c0 Use macros for more float constants Josh Stone 2018-02-27 16:51:30 -0800
  • 83d498d0be Add integer_decode to FloatCore Josh Stone 2018-02-27 16:32:48 -0800
  • f365a4205f Add rounding methods to FloatCore Josh Stone 2018-02-27 16:32:31 -0800
  • 99c6cc11ba Add more constants to FloatCore Josh Stone 2018-02-27 16:31:36 -0800
  • 7d6575da0f Add NumCast to FloatCore, matching Float Josh Stone 2018-02-27 14:43:31 -0800
  • ac503261ca Forward FloatCore to inherent methods when possible Josh Stone 2018-02-27 14:41:09 -0800
  • c848562fcf Use forwarding macros to implement Float and Real Josh Stone 2018-02-27 14:31:09 -0800
  • dc6a125a9c Merge #37 bors[bot] 2018-02-27 19:56:30 +0000
  • 79b557f040 Ensure infalliability of conversions, avoid closures. Clar Charr 2018-02-27 14:06:46 -0500
  • aca8dc8149 Remove Pow<u64> (accidentally added). Clar Charr 2018-02-23 18:03:40 -0500
  • 61a6acc9c2 Add more Pow implementations. Clar Charr 2018-02-23 17:43:27 -0500
  • 5d6933f34a Fix doc tests. Clar Charr 2018-02-23 17:20:08 -0500
  • ce3badca57 Move Pow to pow module. Clar Charr 2018-02-19 15:17:41 -0500
  • c1f4118b4e Fix Inv trait, add Pow trait. Clar Charr 2018-02-19 15:00:36 -0500
  • 5bdff3f0ff Add Inv trait. Clar Charr 2018-02-18 14:29:21 -0500
  • 3431da80a2 Merge #39 bors[bot] 2018-02-23 22:58:39 +0000
  • 51dad501aa Add #[inline] to is_one. Clar Charr 2018-02-23 17:44:07 -0500
  • 45856ee846 Make doc comment less scary. Clar Charr 2018-02-23 17:21:47 -0500
  • 9461cd84f2 Add is_one. Clar Charr 2018-02-19 15:05:11 -0500
  • a7f6a0807d
    Merge e5176eeeed into bfd62d4638 Laurence Tratt 2018-02-17 17:57:47 +0000
  • e5176eeeed Remove std guard. Laurence Tratt 2018-02-17 17:57:40 +0000
  • 6f12bd4334 Depend on core not std. Laurence Tratt 2018-02-17 17:54:20 +0000
  • 17cc3d63b1 Can't have Display or Debug when outside std. Laurence Tratt 2018-02-17 17:38:33 +0000
  • bad027b4cc Primitive integers are always Displayable and Debuggable. Laurence Tratt 2018-02-17 17:16:54 +0000
  • bfd62d4638 Merge #32 bors[bot] 2018-02-07 22:26:47 +0000
  • 52bc8eb22b Mention FloatCore in README Vinzent Steinberg 2018-02-07 12:47:12 +0100
  • d115dadeb1 Don't re-export FloatCore Vinzent Steinberg 2018-02-07 12:39:29 +0100
  • 1db660ed56 Inline only actual trait implementations Vinzent Steinberg 2018-02-07 12:38:01 +0100
  • efad5329b4 Rename CoreFloat to FloatCore Vinzent Steinberg 2018-02-07 12:32:53 +0100
  • d36492863c link more release notes num-traits-0.1.x Josh Stone 2018-02-06 20:49:17 -0800
  • a062bed8b2 link more release notes Josh Stone 2018-02-06 20:49:17 -0800
  • c9727a6051 Merge #31 num-traits-0.1.43 bors[bot] 2018-02-07 01:22:25 +0000
  • b8fb4b0c2b depend on 0.2.0 final Josh Stone 2018-02-06 17:17:54 -0800
  • 17cc9c1e75 Merge #33 num-traits-0.2.0 bors[bot] 2018-02-07 01:12:45 +0000
  • aeccb66b0e Add release notes for 0.2.0 Josh Stone 2018-02-06 17:01:31 -0800
  • 2566d53ad2 Bump to 0.2.0 final Josh Stone 2018-02-06 17:01:43 -0800
  • aa9ea42f9e Add release notes for 0.2.0 Josh Stone 2018-02-06 17:01:31 -0800
  • 8a7f383eb1 Implement CoreFloat trait Vinzent Steinberg 2018-02-02 19:10:03 +0100
  • 47515a10e1 Add a min-rustc badge and document compatibility Josh Stone 2018-02-02 10:24:14 -0800
  • d95b3ed642 Re-export all items from num-traits 0.2 Josh Stone 2018-02-02 10:02:48 -0800
  • afa81f80e4 Merge #30 bors[bot] 2018-02-02 17:53:01 +0000
  • ffa67c8527 CI typo fix Toshiki Teramura 2018-02-01 11:56:13 -0800
  • 67f03391a1 Bump to 0.2 for the breaking feature change Josh Stone 2018-01-31 16:19:00 -0800
  • 36b2514f4b Note the std feature in README.md Josh Stone 2018-01-31 16:16:41 -0800
  • 4fbc583eb9 Don't use wildcards for pub use Josh Stone 2018-01-31 16:05:43 -0800
  • 79786ac518 test no_std in CI Josh Stone 2018-01-31 15:56:25 -0800
  • e6bb97b3ac Make `Float` and `Real` depend on the `std` feature Josh Stone 2018-01-31 15:56:06 -0800
  • a843027b56 Re-introduce the std feature Vinzent Steinberg 2018-01-31 15:42:55 -0800
  • 8dcf2d2287 Rename some tests. Dan Barella 2018-01-29 19:44:43 -0500
  • 0eca7f99be Reformat macros. Dan Barella 2018-01-29 19:38:31 -0500
  • 39edcf1f6f Patch in apopiak@'s changes from github.com/rust-num/num/pull/135/. Alexander Popiak 2018-01-29 19:15:56 -0500
  • 9b88f9bcdd Change assert form. Dan Barella 2018-01-29 19:03:12 -0500
  • 387049aa62 Remove an unneeded assert. Dan Barella 2018-01-29 18:52:02 -0500
  • 1349db5165 Don't use assert_ne! Dan Barella 2018-01-27 15:55:17 -0500
  • 416985d246 Check overflow when casting floats to integers. Dan Barella 2018-01-27 15:41:06 -0500
  • 3716330128 Merge #27 num-traits-0.1.42 bors[bot] 2018-01-23 02:12:39 +0000
  • ff73e62d93 Release num-traits 0.1.42 Josh Stone 2018-01-22 18:06:22 -0800
  • 93be5dbff2 Merge #23 bors[bot] 2018-01-19 01:39:13 +0000
  • 1e892e2238 Remove legacy default implementations Yoan Lecoq 2018-01-18 21:32:46 +0100
  • a2337f392b Document panic cases where T doesn't support NaN Yoan Lecoq 2018-01-18 08:44:05 +0100
  • 789dea0d5f Merge c58ae9cfad into aa7c15e0e9 Fabio Krapohl 2018-01-18 07:13:02 +0000
  • aa7c15e0e9 Merge #17 #21 bors[bot] 2018-01-18 05:37:47 +0000
  • c58ae9cfad forgot remove fixme messages Fabio Krapohl 2018-01-17 14:12:00 +0100
  • 9d3db0e9ea fix all fixme #5527 Fabio Krapohl 2018-01-17 14:10:59 +0100
  • 8634d2fad6 associated consts Fabio Krapohl 2018-01-17 13:50:33 +0100
  • 31218add95 Include note for implementers of AsPrimitive Eduardo Pinho 2018-01-14 21:23:19 +0000
  • 809ccff63f Fix checked shift RHS to u32, drop from PrimInt Fabian Schuiki 2018-01-13 15:02:38 +0100
  • 9c8676e6d5 Merge #22 bors[bot] 2018-01-13 05:27:49 +0000
  • ebdd583dfc Merge 6e19c8785c into 42a610d323 Toshiki Teramura 2018-01-12 15:16:57 +0000
  • 6e19c8785c Drop unused libc setting Toshiki Teramura 2018-01-13 00:15:22 +0900
  • 8fbbf6ac06 Update CI settings Toshiki Teramura 2018-01-13 00:06:45 +0900