Function duckdb_double_to_hugeint

Source
pub unsafe extern "C" fn duckdb_double_to_hugeint(
    val: f64,
) -> duckdb_hugeint
Expand description

Converts a double value to a duckdb_hugeint object.

If the conversion fails because the double value is too big the result will be 0.

val: The double value. returns: The converted duckdb_hugeint element.