rust/fpnum/src/lib.rs
changeset 14228 bb2f301d4fe0
parent 14199 a4c17cfaa4c9
child 14648 2e2b31cf0871
equal deleted inserted replaced
14227:257b296169a8 14228:bb2f301d4fe0
     1 use std::cmp;
     1 use std::{
     2 use std::ops;
     2     cmp,
     3 use std::ops::Shl;
     3     ops,
       
     4     ops::Shl
       
     5 };
     4 
     6 
     5 #[derive(Clone, Debug, Copy)]
     7 #[derive(Clone, Debug, Copy)]
     6 pub struct FPNum {
     8 pub struct FPNum {
     7     is_negative: bool,
     9     is_negative: bool,
     8     value: u64,
    10     value: u64,