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

Function garrow_decimal32_to_integer

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

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

Source from the content-addressed store, hash-verified

647 * Since: 19.0.0
648 */
649gint64
650garrow_decimal32_to_integer(GArrowDecimal32 *decimal)
651{
652 auto arrow_decimal = garrow_decimal32_get_raw(decimal);
653 return static_cast<int64_t>(*arrow_decimal);
654}
655
656/**
657 * garrow_decimal32_plus:

Callers

nothing calls this directly

Calls 1

garrow_decimal32_get_rawFunction · 0.85

Tested by

no test coverage detected