| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>128-bit decimal class: Apache Arrow GLib Reference Manual</title> |
| <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> |
| <link rel="home" href="index.html" title="Apache Arrow GLib Reference Manual"> |
| <link rel="up" href="decimal.html" title="Decimal"> |
| <link rel="prev" href="decimal.html" title="Decimal"> |
| <link rel="next" href="tensor.html" title="Tensor"> |
| <meta name="generator" content="GTK-Doc V1.27 (XML mode)"> |
| <link rel="stylesheet" href="style.css" type="text/css"> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> |
| <td width="100%" align="left" class="shortcuts"> |
| <a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> |
| <a href="#GArrowDecimal128.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| <a href="#GArrowDecimal128.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> |
| <a href="#GArrowDecimal128.properties" class="shortcut">Properties</a></span> |
| </td> |
| <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> |
| <td><a accesskey="u" href="decimal.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| <td><a accesskey="p" href="decimal.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| <td><a accesskey="n" href="tensor.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| </tr></table> |
| <div class="refentry"> |
| <a name="GArrowDecimal128"></a><div class="titlepage"></div> |
| <div class="refnamediv"><table width="100%"><tr> |
| <td valign="top"> |
| <h2><span class="refentrytitle"><a name="GArrowDecimal128.top_of_page"></a>128-bit decimal class</span></h2> |
| <p>128-bit decimal class</p> |
| </td> |
| <td class="gallery_image" valign="top" align="right"></td> |
| </tr></table></div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.functions"></a><h2>Functions</h2> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="functions_return"> |
| <col class="functions_name"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="function_type"> |
| <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-new-string" title="garrow_decimal128_new_string ()">garrow_decimal128_new_string</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-new-integer" title="garrow_decimal128_new_integer ()">garrow_decimal128_new_integer</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gboolean</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-equal" title="garrow_decimal128_equal ()">garrow_decimal128_equal</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gboolean</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-not-equal" title="garrow_decimal128_not_equal ()">garrow_decimal128_not_equal</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gboolean</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-less-than" title="garrow_decimal128_less_than ()">garrow_decimal128_less_than</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gboolean</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-less-than-or-equal" title="garrow_decimal128_less_than_or_equal ()">garrow_decimal128_less_than_or_equal</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gboolean</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-greater-than" title="garrow_decimal128_greater_than ()">garrow_decimal128_greater_than</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gboolean</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-greater-than-or-equal" title="garrow_decimal128_greater_than_or_equal ()">garrow_decimal128_greater_than_or_equal</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gchar</span> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-to-string-scale" title="garrow_decimal128_to_string_scale ()">garrow_decimal128_to_string_scale</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gchar</span> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-to-string" title="garrow_decimal128_to_string ()">garrow_decimal128_to_string</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">void</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-abs" title="garrow_decimal128_abs ()">garrow_decimal128_abs</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">void</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-negate" title="garrow_decimal128_negate ()">garrow_decimal128_negate</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <span class="returnvalue">gint64</span> |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-to-integer" title="garrow_decimal128_to_integer ()">garrow_decimal128_to_integer</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-plus" title="garrow_decimal128_plus ()">garrow_decimal128_plus</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-minus" title="garrow_decimal128_minus ()">garrow_decimal128_minus</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-multiply" title="garrow_decimal128_multiply ()">garrow_decimal128_multiply</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-divide" title="garrow_decimal128_divide ()">garrow_decimal128_divide</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| <tr> |
| <td class="function_type"> |
| <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| </td> |
| <td class="function_name"> |
| <a class="link" href="GArrowDecimal128.html#garrow-decimal128-rescale" title="garrow_decimal128_rescale ()">garrow_decimal128_rescale</a> <span class="c_punctuation">()</span> |
| </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.properties"></a><h2>Properties</h2> |
| <div class="informaltable"><table class="informaltable" border="0"> |
| <colgroup> |
| <col width="150px" class="properties_type"> |
| <col width="300px" class="properties_name"> |
| <col width="200px" class="properties_flags"> |
| </colgroup> |
| <tbody><tr> |
| <td class="property_type"><span class="type">gpointer</span></td> |
| <td class="property_name"><a class="link" href="GArrowDecimal128.html#GArrowDecimal128--decimal128" title="The “decimal128” property">decimal128</a></td> |
| <td class="property_flags">Write / Construct Only</td> |
| </tr></tbody> |
| </table></div> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.other"></a><h2>Types and Values</h2> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="name"> |
| <col class="description"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="define_keyword">#define</td> |
| <td class="function_name"><a class="link" href="GArrowDecimal128.html#GARROW-TYPE-DECIMAL128:CAPS" title="GARROW_TYPE_DECIMAL128">GARROW_TYPE_DECIMAL128</a></td> |
| </tr> |
| <tr> |
| <td class="datatype_keyword">struct</td> |
| <td class="function_name"><a class="link" href="GArrowDecimal128.html#GArrowDecimal128Class" title="struct GArrowDecimal128Class">GArrowDecimal128Class</a></td> |
| </tr> |
| <tr> |
| <td class="datatype_keyword"> </td> |
| <td class="function_name"><a class="link" href="GArrowDecimal128.html#GArrowDecimal128-struct" title="GArrowDecimal128">GArrowDecimal128</a></td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| <pre class="screen"> GObject |
| <span class="lineart">╰──</span> GArrowDecimal128 |
| </pre> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.includes"></a><h2>Includes</h2> |
| <pre class="synopsis">#include <arrow-glib/arrow-glib.h> |
| </pre> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.description"></a><h2>Description</h2> |
| <p><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> is a 128-bit decimal class.</p> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.functions_details"></a><h2>Functions</h2> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-new-string"></a><h3>garrow_decimal128_new_string ()</h3> |
| <pre class="programlisting"><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| garrow_decimal128_new_string (<em class="parameter"><code>const <span class="type">gchar</span> *data</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-new-string.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody><tr> |
| <td class="parameter_name"><p>data</p></td> |
| <td class="parameter_description"><p>The data of the decimal.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr></tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-new-string.returns"></a><h4>Returns</h4> |
| <p> A newly created <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-10-0.html#api-index-0.10.0">0.10.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-new-integer"></a><h3>garrow_decimal128_new_integer ()</h3> |
| <pre class="programlisting"><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| garrow_decimal128_new_integer (<em class="parameter"><code>const <span class="type">gint64</span> data</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-new-integer.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody><tr> |
| <td class="parameter_name"><p>data</p></td> |
| <td class="parameter_description"><p>The data of the decimal.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr></tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-new-integer.returns"></a><h4>Returns</h4> |
| <p> A newly created <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-10-0.html#api-index-0.10.0">0.10.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-equal"></a><h3>garrow_decimal128_equal ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| garrow_decimal128_equal (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *other_decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-equal.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>other_decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> to be compared.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-equal.returns"></a><h4>Returns</h4> |
| <p> <code class="literal">TRUE</code> if the decimal is equal to the other decimal, <code class="literal">FALSE</code> |
| otherwise.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-12-0.html#api-index-0.12.0">0.12.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-not-equal"></a><h3>garrow_decimal128_not_equal ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| garrow_decimal128_not_equal (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *other_decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-not-equal.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>other_decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> to be compared.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-not-equal.returns"></a><h4>Returns</h4> |
| <p> <code class="literal">TRUE</code> if the decimal isn't equal to the other decimal, |
| <code class="literal">FALSE</code> otherwise.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-12-0.html#api-index-0.12.0">0.12.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-less-than"></a><h3>garrow_decimal128_less_than ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| garrow_decimal128_less_than (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *other_decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-less-than.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>other_decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> to be compared.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-less-than.returns"></a><h4>Returns</h4> |
| <p> <code class="literal">TRUE</code> if the decimal is less than the other decimal, |
| <code class="literal">FALSE</code> otherwise.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-12-0.html#api-index-0.12.0">0.12.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-less-than-or-equal"></a><h3>garrow_decimal128_less_than_or_equal ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| garrow_decimal128_less_than_or_equal (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *other_decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-less-than-or-equal.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>other_decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> to be compared.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-less-than-or-equal.returns"></a><h4>Returns</h4> |
| <p> <code class="literal">TRUE</code> if the decimal is less than the other decimal |
| or equal to the other decimal, <code class="literal">FALSE</code> otherwise.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-12-0.html#api-index-0.12.0">0.12.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-greater-than"></a><h3>garrow_decimal128_greater_than ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| garrow_decimal128_greater_than (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *other_decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-greater-than.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>other_decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> to be compared.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-greater-than.returns"></a><h4>Returns</h4> |
| <p> <code class="literal">TRUE</code> if the decimal is greater than the other decimal, |
| <code class="literal">FALSE</code> otherwise.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-12-0.html#api-index-0.12.0">0.12.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-greater-than-or-equal"></a><h3>garrow_decimal128_greater_than_or_equal ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gboolean</span> |
| garrow_decimal128_greater_than_or_equal |
| (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *other_decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-greater-than-or-equal.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>other_decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> to be compared.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-greater-than-or-equal.returns"></a><h4>Returns</h4> |
| <p> <code class="literal">TRUE</code> if the decimal is greater than the other decimal |
| or equal to the other decimal, <code class="literal">FALSE</code> otherwise.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-12-0.html#api-index-0.12.0">0.12.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-to-string-scale"></a><h3>garrow_decimal128_to_string_scale ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gchar</span> * |
| garrow_decimal128_to_string_scale (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><span class="type">gint32</span> scale</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-to-string-scale.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>scale</p></td> |
| <td class="parameter_description"><p>The scale of the decimal.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-to-string-scale.returns"></a><h4>Returns</h4> |
| <p> The string representation of the decimal.</p> |
| <p> It should be freed with <code class="function">g_free()</code> when no longer needed.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-10-0.html#api-index-0.10.0">0.10.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-to-string"></a><h3>garrow_decimal128_to_string ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gchar</span> * |
| garrow_decimal128_to_string (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-to-string.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody><tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr></tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-to-string.returns"></a><h4>Returns</h4> |
| <p> The string representation of the decimal.</p> |
| <p> It should be freed with <code class="function">g_free()</code> when no longer needed.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-10-0.html#api-index-0.10.0">0.10.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-abs"></a><h3>garrow_decimal128_abs ()</h3> |
| <pre class="programlisting"><span class="returnvalue">void</span> |
| garrow_decimal128_abs (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>);</pre> |
| <p>Computes the absolute value of the <em class="parameter"><code>decimal</code></em> |
| destructively.</p> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-abs.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody><tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr></tbody> |
| </table></div> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-10-0.html#api-index-0.10.0">0.10.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-negate"></a><h3>garrow_decimal128_negate ()</h3> |
| <pre class="programlisting"><span class="returnvalue">void</span> |
| garrow_decimal128_negate (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>);</pre> |
| <p>Negate the current value of the <em class="parameter"><code>decimal</code></em> |
| destructively.</p> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-negate.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody><tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr></tbody> |
| </table></div> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-10-0.html#api-index-0.10.0">0.10.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-to-integer"></a><h3>garrow_decimal128_to_integer ()</h3> |
| <pre class="programlisting"><span class="returnvalue">gint64</span> |
| garrow_decimal128_to_integer (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-to-integer.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody><tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr></tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-to-integer.returns"></a><h4>Returns</h4> |
| <p> The 64-bit integer representation of the decimal.</p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-10-0.html#api-index-0.10.0">0.10.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-plus"></a><h3>garrow_decimal128_plus ()</h3> |
| <pre class="programlisting"><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| garrow_decimal128_plus (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *left</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *right</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-plus.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>left</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>right</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-plus.returns"></a><h4>Returns</h4> |
| <p>The added value of these decimals. </p> |
| <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-11-0.html#api-index-0.11.0">0.11.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-minus"></a><h3>garrow_decimal128_minus ()</h3> |
| <pre class="programlisting"><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| garrow_decimal128_minus (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *left</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *right</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-minus.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>left</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>right</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-minus.returns"></a><h4>Returns</h4> |
| <p>The subtracted value of these decimals. </p> |
| <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-11-0.html#api-index-0.11.0">0.11.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-multiply"></a><h3>garrow_decimal128_multiply ()</h3> |
| <pre class="programlisting"><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| garrow_decimal128_multiply (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *left</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *right</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-multiply.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>left</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>right</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-multiply.returns"></a><h4>Returns</h4> |
| <p>The multiplied value of these decimals. </p> |
| <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-11-0.html#api-index-0.11.0">0.11.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-divide"></a><h3>garrow_decimal128_divide ()</h3> |
| <pre class="programlisting"><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| garrow_decimal128_divide (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *left</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *right</code></em>, |
| <em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> **remainder</code></em>, |
| <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-divide.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>left</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>right</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>remainder</p></td> |
| <td class="parameter_description"><p>A return location for the remainder |
| value of these decimals. The returned <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> be |
| unreferred with <code class="function">g_object_unref()</code> when no longer needed. </p></td> |
| <td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>error</p></td> |
| <td class="parameter_description"><p>Return location for a <span class="type">GError</span> or <code class="literal">NULL</code>. </p></td> |
| <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-divide.returns"></a><h4>Returns</h4> |
| <p>The divided value of |
| these decimals or <code class="literal">NULL</code> on error. </p> |
| <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-11-0.html#api-index-0.11.0">0.11.0</a></p> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="garrow-decimal128-rescale"></a><h3>garrow_decimal128_rescale ()</h3> |
| <pre class="programlisting"><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="returnvalue">GArrowDecimal128</span></a> * |
| garrow_decimal128_rescale (<em class="parameter"><code><a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a> *decimal</code></em>, |
| <em class="parameter"><code><span class="type">gint32</span> original_scale</code></em>, |
| <em class="parameter"><code><span class="type">gint32</span> new_scale</code></em>, |
| <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-rescale.parameters"></a><h4>Parameters</h4> |
| <div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| <colgroup> |
| <col width="150px" class="parameters_name"> |
| <col class="parameters_description"> |
| <col width="200px" class="parameters_annotations"> |
| </colgroup> |
| <tbody> |
| <tr> |
| <td class="parameter_name"><p>decimal</p></td> |
| <td class="parameter_description"><p>A <a class="link" href="GArrowDecimal128.html" title="128-bit decimal class"><span class="type">GArrowDecimal128</span></a>.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>original_scale</p></td> |
| <td class="parameter_description"><p>A scale to be converted from.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>new_scale</p></td> |
| <td class="parameter_description"><p>A scale to be converted to.</p></td> |
| <td class="parameter_annotations"> </td> |
| </tr> |
| <tr> |
| <td class="parameter_name"><p>error</p></td> |
| <td class="parameter_description"><p>Return location for a <span class="type">GError</span> or <code class="literal">NULL</code>. </p></td> |
| <td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td> |
| </tr> |
| </tbody> |
| </table></div> |
| </div> |
| <div class="refsect3"> |
| <a name="garrow-decimal128-rescale.returns"></a><h4>Returns</h4> |
| <p>The rescaled decimal or <code class="literal">NULL</code> on error. </p> |
| <p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> |
| </div> |
| <p class="since">Since: <a class="link" href="api-index-0-15-0.html#api-index-0.15.0">0.15.0</a></p> |
| </div> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.other_details"></a><h2>Types and Values</h2> |
| <div class="refsect2"> |
| <a name="GARROW-TYPE-DECIMAL128:CAPS"></a><h3>GARROW_TYPE_DECIMAL128</h3> |
| <pre class="programlisting">#define GARROW_TYPE_DECIMAL128 (garrow_decimal128_get_type()) |
| </pre> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="GArrowDecimal128Class"></a><h3>struct GArrowDecimal128Class</h3> |
| <pre class="programlisting">struct GArrowDecimal128Class { |
| GObjectClass parent_class; |
| }; |
| </pre> |
| </div> |
| <hr> |
| <div class="refsect2"> |
| <a name="GArrowDecimal128-struct"></a><h3>GArrowDecimal128</h3> |
| <pre class="programlisting">typedef struct _GArrowDecimal128 GArrowDecimal128;</pre> |
| </div> |
| </div> |
| <div class="refsect1"> |
| <a name="GArrowDecimal128.property-details"></a><h2>Property Details</h2> |
| <div class="refsect2"> |
| <a name="GArrowDecimal128--decimal128"></a><h3>The <code class="literal">“decimal128”</code> property</h3> |
| <pre class="programlisting"> “decimal128” <span class="type">gpointer</span></pre> |
| <p>The raw std::shared<arrow::Decimal128> *.</p> |
| <p>Flags: Write / Construct Only</p> |
| </div> |
| </div> |
| </div> |
| <div class="footer"> |
| <hr>Generated by GTK-Doc V1.27</div> |
| <script type="text/javascript" src="/docs/_static/versionwarning.js"></script></body> |
| </html> |