Method
ArrowDecimal128divide
since: 0.11.0
Declaration [src]
GArrowDecimal128*
garrow_decimal128_divide (
GArrowDecimal128* left,
GArrowDecimal128* right,
GArrowDecimal128** remainder,
GError** error
)
Parameters
right
-
Type:
GArrowDecimal128
A
GArrowDecimal128
.The data is owned by the caller of the function. remainder
-
Type:
GArrowDecimal128
A return location for the remainder value of these decimals. The returned
GArrowDecimal128
be unreferred withg_object_unref()
when no longer needed.The argument will be set by the function. The argument can be set to NULL
by the method.The instance takes ownership of the data, and is responsible for freeing it. error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will left initialized to NULL
by the method if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.
Return value
Type: GArrowDecimal128
The divided value of
these decimals or NULL
on error.
The caller of the method takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL . |