Yoan Lecoq
b562c1ec39
Minor changes for correctness
2017-04-21 18:47:42 +02:00
Yoan Lecoq
9b06d4a0bb
Attempt at fixing E0411 on older rust versions
2017-04-21 10:31:29 +02:00
Yoan Lecoq
b024e1c326
Implemented Zero, One and Num for Wrapping<T>
2017-04-21 09:26:53 +02:00
Jacob Kiesel
c78a48fd35
Improve documentation comments
...
Remove passive voice from documentation comments.
2017-02-08 15:10:01 -07:00
Jacob Kiesel
17665ec50d
Update lib.rs
...
Make assert debug error more accurate.
2017-02-07 15:03:00 -07:00
Jacob Kiesel
f8dcec366b
Made requested changes.
2017-02-07 13:02:32 -07:00
Josh Stone
817ab00f64
Merge pull request #256 from nwin/add-wrapping-traits
...
Added traits for wrapping arithmetics.
2017-02-04 21:47:53 -08:00
Corey Farwell
19109883de
Add doc example for `num_traits::Num::from_str_radix`.
2017-01-30 23:42:27 -05:00
nwin
d25f53056d
Added traits for wrapping arithmetics.
...
Added `Wrapping` traits for the most common operations. Similar to the already present `Checked` traits.
2017-01-22 09:45:35 +01:00
bluss
ff2a350e98
Use the integer32 playground
2016-11-02 19:51:10 +01:00
bluss
e4a6956e5a
Add doc(html_root_url) and other doc attrs to each crate
...
Also update to use https instead of http. This avois mixed content
degradation on docs.rs.
The doc root URLs are correct as they are, the URL does not include the
crate name itself.
2016-11-01 02:14:23 +01:00
Ivan Ukhov
01aad702af
Add a trait for floating-point constants
2016-08-15 06:38:08 +02:00
Josh Stone
932e45c207
traits: inline integer from_str_radix
2016-08-10 22:22:53 -07:00
Vinzent Steinberg
3e4595eac6
Move functions remaining in num to num-traits
...
Fixes #102 .
2016-05-13 10:38:14 +02:00
Josh Stone
b73cfa57bb
traits: use `cast` items before `int`
...
For some reason, rustc 1.0.0 can't find `PrimInt` if it's before `cast`,
but later versions are fine with this. That may have been a compiler
bug that was fixed. Switching the order seems to work everywhere.
2016-03-25 16:12:56 -07:00
Łukasz Jan Niemier
956bb0f4db
Reapply ebed6756de
2016-03-25 12:34:48 +01:00
Łukasz Jan Niemier
96e9166b0a
Extract iter
2016-03-11 01:06:37 +01:00
Łukasz Jan Niemier
2176b7048c
Extract bigint
2016-03-11 01:06:05 +01:00
Łukasz Jan Niemier
c124be549f
Move traits to separate crate
2016-03-11 01:06:05 +01:00