I’m wondering how to fill this task:
Which library should I use?
I see that the C example uses GMP and that Zarith implementation is based on GMP, but when I try to get a result I’m only able to get a result like:
24769797950537734440147467139809 / 1125899906842624
instead of just:
22000000000000005.72 (the total price before tax)
Should I use another lib, or is there a printing/converting function in Zarith that I missed?
I just tryed ytomino/gmp-ocaml but I get similar ratio results than with Zarith.