fix Time from Planar64
This commit is contained in:
parent
c48b9d63bd
commit
5790863111
@ -49,7 +49,7 @@ impl Time{
|
||||
impl From<Planar64> for Time{
|
||||
#[inline]
|
||||
fn from(value:Planar64)->Self{
|
||||
Time(((value*Planar64::raw(1_000_000_000))>>32).fix_1().to_raw())
|
||||
Time((value*Planar64::raw(1_000_000_000)).fix_1().to_raw())
|
||||
}
|
||||
}
|
||||
impl<Num,Den,N1,T1> From<Ratio<Num,Den>> for Time
|
||||
|
Loading…
Reference in New Issue
Block a user