MCPcopy Create free account
hub / github.com/apache/arrow / garrow_decimal64_to_integer

Function garrow_decimal64_to_integer

c_glib/arrow-glib/decimal.cpp:1046–1051  ·  view source on GitHub ↗

* garrow_decimal64_to_integer: * @decimal: A #GArrowDecimal64. * * Returns: The 64-bit integer representation of the decimal. * * Since: 19.0.0 */

Source from the content-addressed store, hash-verified

1044 * Since: 19.0.0
1045 */
1046gint64
1047garrow_decimal64_to_integer(GArrowDecimal64 *decimal)
1048{
1049 auto arrow_decimal = garrow_decimal64_get_raw(decimal);
1050 return static_cast<int64_t>(*arrow_decimal);
1051}
1052
1053/**
1054 * garrow_decimal64_plus:

Callers

nothing calls this directly

Calls 1

garrow_decimal64_get_rawFunction · 0.85

Tested by

no test coverage detected