pub unsafe fn hugeint_to_f64(value: i128) -> f64
Converts a HUGEINT to f64 the way DuckDB does.
HUGEINT
f64
DuckDB
See date_from_days.
date_from_days