mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
king: remove the 'hardware femtosecond clock'
This commit is contained in:
parent
2c7a2dbd6a
commit
6fa380ddc1
@ -149,3 +149,9 @@ gap (Wen x) (Wen y) | x > y = x - y
|
||||
|
||||
addGap :: Wen -> Gap -> Wen
|
||||
addGap (Wen x) y = Wen (x+y)
|
||||
|
||||
-- | Produce a Wen with precision compatible to that from vere's time.c
|
||||
chop :: Wen -> Wen
|
||||
chop (Wen (Gap g)) = Wen (Gap (mop g))
|
||||
where
|
||||
mop n = shiftL (shiftR n 48) 48
|
||||
|
Loading…
Reference in New Issue
Block a user