Top | ![]() |
![]() |
![]() |
![]() |
GArrowDecimal128 * | garrow_decimal128_new_string () |
GArrowDecimal128 * | garrow_decimal128_new_integer () |
gchar * | garrow_decimal128_to_string_scale () |
gchar * | garrow_decimal128_to_string () |
void | garrow_decimal128_abs () |
void | garrow_decimal128_negate () |
gint64 | garrow_decimal128_to_integer () |
GArrowDecimal128 * | garrow_decimal128_plus () |
GArrowDecimal128 * | garrow_decimal128_minus () |
GArrowDecimal128 * | garrow_decimal128_multiply () |
GArrowDecimal128 * | garrow_decimal128_divide () |
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 |
A GArrowDecimal128. |
|
right |
A GArrowDecimal128. |
|
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