king: remove the 'hardware femtosecond clock'

This commit is contained in:
pilfer-pandex 2021-03-17 19:53:36 -04:00
parent 2c7a2dbd6a
commit 6fa380ddc1

View File

@ -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