|
|
@ -23,10 +23,10 @@ |
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
//
|
|
|
//
|
|
|
use std::cmp::Ordering;
|
|
|
use std::cmp::Ordering;
|
|
|
use std::ops::{Add,Sub,Neg,Mul,Div};
|
|
|
|
|
|
use std::fmt;
|
|
|
|
|
|
use std::convert::{TryFrom, TryInto};
|
|
|
use std::convert::{TryFrom, TryInto};
|
|
|
|
|
|
use std::fmt;
|
|
|
use std::num::TryFromIntError;
|
|
|
use std::num::TryFromIntError;
|
|
|
|
|
|
use std::ops::{Add,Sub,Neg,Mul,Div};
|
|
|
|
|
|
|
|
|
#[derive(Debug, Eq, Clone, Copy)]
|
|
|
#[derive(Debug, Eq, Clone, Copy)]
|
|
|
pub struct Fractional (pub i64, pub i64);
|
|
|
pub struct Fractional (pub i64, pub i64);
|
|
|
|