Arbitrary-precision rational numbers.
None if the result would overflow or to_multiple_of is zero.
Exception if the result would overflow or to_multiple_of is zero.
Decimal. Output is truncated (not rounded) to nine decimal places, so may be lossy.
Consider using sexp_of_t if you need lossless stringification.