Sebastian Dröge
|
f74753089b
rational: Implement approximation from floats and FromPrimitive for various types
|
8 éve |
Anders Kaseorg
|
fd44a86866
rational: test_recip_fail: Correct should_panic syntax
|
8 éve |
dnsl48
|
9d7ab663b1
From<(T,T)> implementation
|
8 éve |
dnsl48
|
70da35dff5
Into<(T,T)> implementation
|
8 éve |
Wictor Lund
|
4bdad38eee
Added test for trait From<T> for Ratio<T> where T: Clone + Integer.
|
8 éve |
Wictor Lund
|
de91d5d9e3
Added trait From<T> for Ratio<T> where T: Clone + Integer
|
8 éve |
bluss
|
ff2a350e98
Use the integer32 playground
|
8 éve |
bluss
|
e4a6956e5a
Add doc(html_root_url) and other doc attrs to each crate
|
8 éve |
Richard Janis Goldschmidt
|
20360ebccf
Fix deserialization by giving type annotations.
|
8 éve |
Richard Janis Goldschmidt
|
7339d6cb9a
Remove redundant `use serde`; it is an external crate.
|
8 éve |
Michael Lamparski
|
32dee9a0c8
rational: small additional tweaks
|
8 éve |
Michael Lamparski
|
8c75506f22
Ratio::recip now corrects sign and fails for zero
|
8 éve |
Michael Lamparski
|
c84c4d15ba
Improve Ratio docs
|
8 éve |
Oliver Middleton
|
c22e3bf9a2
Correct Ratio::is_negative and Ratio::is_positive
|
9 éve |
Łukasz Jan Niemier
|
58b5fe5883
Serializers dependencies
|
9 éve |
Josh Stone
|
21a328ad6d
bigint, rational: use std::hash only for testing
|
9 éve |
Łukasz Jan Niemier
|
54685c46a1
Extract rational
|
9 éve |