fix exchange_sig: correctly group and order denominations
This commit is contained in:
parent
481adaf53e
commit
abfd35c425
5 changed files with 141 additions and 104 deletions
|
|
@ -99,6 +99,8 @@ module Timestamp = struct
|
|||
let never = uint64_max
|
||||
let zero = 0L
|
||||
let compare = Int64.unsigned_compare
|
||||
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
|
||||
|
||||
(* zero if a >= b; never if b=never; otherwise b - a *)
|
||||
let diff a b =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue