Josh Stone
2f8f952d1d
clean up unused macros
2017-09-21 17:36:21 -07:00
Josh Stone
fe34d17aaf
Revert "Auto merge of #296 - vks:no_std, r=cuviper"
...
This reverts commit 8b5d4ac24e
, reversing
changes made to ef752e4687
.
2017-06-09 10:12:50 -07:00
Vinzent Steinberg
351dfc6383
traits: Introduce std feature
...
This makes it possible to build `traits` without `std`. For this a new
trait `BasicFloat` was introduced, implementing some basic functionality
that works with `core`. Most notably this is lacking functions like
`cos`, `sin`, etc.
`Float` is not available without `std`.
Refs #216 .
2017-05-31 13:44:39 +02:00
Yoan Lecoq
fd50c9196b
Added trait bounds tests for Wrapping
2017-05-01 13:42:30 +02:00
Yoan Lecoq
807584688c
Added some tests for Wrapping<T>'s impls
2017-04-30 10:17:06 +02:00
Yoan Lecoq
f4e0b47ceb
Revert #[inline] hints
2017-04-30 08:32:25 +02:00
Yoan Lecoq
760604361d
Add missing #[inline] hints
2017-04-29 08:35:37 +02:00
Yoan Lecoq
2172a9368b
impl One for Wrapping doesn't require Add
2017-04-21 19:10:42 +02:00
Yoan Lecoq
356a4ba5b5
Removed useless trait bounds
2017-04-21 18:56:23 +02:00
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
Vinzent Steinberg
3e4595eac6
Move functions remaining in num to num-traits
...
Fixes #102 .
2016-05-13 10:38:14 +02:00
Łukasz Jan Niemier
c124be549f
Move traits to separate crate
2016-03-11 01:06:05 +01:00