Skip to main content

duckdb_double_to_uhugeint

Function duckdb_double_to_uhugeint 

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

Converts a double value to a duckdb_uhugeint object.

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

history:

  • stable: v0.10.0

@param val The double value. @return duckdb_uhugeint