| Top |
GArrowDecimal128 *
garrow_decimal128_new_string (const gchar *data);
Since: 0.10.0
GArrowDecimal128 *
garrow_decimal128_new_integer (const gint64 data);
Since: 0.10.0
gchar * garrow_decimal128_to_string_scale (GArrowDecimal128 *decimal,gint32 scale);
The string representation of the decimal.
It should be freed with g_free() when no longer needed.
Since: 0.10.0
gchar *
garrow_decimal128_to_string (GArrowDecimal128 *decimal);
The string representation of the decimal.
It should be freed with g_free() when no longer needed.
Since: 0.10.0
void
garrow_decimal128_abs (GArrowDecimal128 *decimal);
Computes the absolute value of the decimal
destructively.
Since: 0.10.0
void
garrow_decimal128_negate (GArrowDecimal128 *decimal);
Negate the current value of the decimal
destructively.
Since: 0.10.0
gint64
garrow_decimal128_to_integer (GArrowDecimal128 *decimal);
Since: 0.10.0
GArrowDecimal128 * garrow_decimal128_plus (GArrowDecimal128 *left,GArrowDecimal128 *right);
Since: 0.11.0
GArrowDecimal128 * garrow_decimal128_minus (GArrowDecimal128 *left,GArrowDecimal128 *right);
Since: 0.11.0
GArrowDecimal128 * garrow_decimal128_multiply (GArrowDecimal128 *left,GArrowDecimal128 *right);
Since: 0.11.0
GArrowDecimal128 * garrow_decimal128_divide (GArrowDecimal128 *left,GArrowDecimal128 *right,GArrowDecimal128 **remainder,GError **error);
left |
||
right |
||
remainder |
A return location for the remainder
value of these decimals. The returned GArrowDecimal128 be
unreferred with |
[out][nullable] |
error |
[nullable] |
Since: 0.11.0
“decimal128” property“decimal128” gpointer
The raw std::shared<arrow::Decimal128> *.
Flags: Write / Construct Only