fix exchange_sig: correctly group and order denominations

This commit is contained in:
swrup 2026-02-23 09:02:39 +01:00 committed by Swrup
parent 481adaf53e
commit abfd35c425
5 changed files with 141 additions and 104 deletions

View file

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