rust/fpnum/src/lib.rs
changeset 14212 bb2f301d4fe0
parent 14183 a4c17cfaa4c9
child 14632 2e2b31cf0871
equal deleted inserted replaced
14211:257b296169a8 14212: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,