fix timestamp compare
This commit is contained in:
parent
2e29cb0418
commit
b1de214881
6 changed files with 15 additions and 22 deletions
|
|
@ -97,10 +97,6 @@ module Timestamp = struct
|
|||
let never = uint64_max
|
||||
let zero = 0L
|
||||
let compare = Int64.unsigned_compare
|
||||
let gt a b = compare a b > 0
|
||||
let geq a b = compare a b >= 0
|
||||
let lt a b = compare a b < 0
|
||||
let leq a b = compare a b <= 0
|
||||
let equal a b = compare a b = 0
|
||||
let min a b = if compare a b < 0 then a else b
|
||||
let max a b = if compare a b > 0 then a else b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue