Home
last modified time | relevance | path

Searched refs:gnc_numeric_eq (Results 1 – 17 of 17) sorted by relevance

/dports/finance/gnucash/gnucash-4.9/libgnucash/engine/test/
H A Dtest-numeric.cpp155 check_unary_op (gnc_numeric_eq, in check_reduce()
162 check_unary_op (gnc_numeric_eq, in check_reduce()
169 check_unary_op (gnc_numeric_eq, in check_reduce()
279 check_unary_op (gnc_numeric_eq, in check_rounding()
283 check_unary_op (gnc_numeric_eq, in check_rounding()
287 check_unary_op (gnc_numeric_eq, in check_rounding()
291 check_unary_op (gnc_numeric_eq, in check_rounding()
297 check_unary_op (gnc_numeric_eq, in check_rounding()
303 check_unary_op (gnc_numeric_eq, in check_rounding()
310 check_unary_op (gnc_numeric_eq, in check_rounding()
[all …]
H A Dtest-transaction-voiding.cpp134 if (!(gnc_numeric_eq(old_amt, xaccSplitVoidFormerAmount(xaccTransGetSplit(transaction, 0))))) in run_test()
139 if (!(gnc_numeric_eq(old_val, xaccSplitVoidFormerValue(xaccTransGetSplit(transaction, 1))))) in run_test()
170 if (!(gnc_numeric_eq(old_amt, new_amt))) in run_test()
177 if (!(gnc_numeric_eq(old_val, new_val))) in run_test()
H A Dutest-Entry.c109 g_assert(gnc_numeric_eq (gncEntryGetQuantity (entry), quantity)); in test_entry_basics()
112 g_assert(gnc_numeric_eq (gncEntryGetDocQuantity (entry, is_cn), quantity)); in test_entry_basics()
113 g_assert(gnc_numeric_eq (gncEntryGetQuantity (entry), quantity)); in test_entry_basics()
117 g_assert(gnc_numeric_eq (gncEntryGetDocQuantity (entry, is_cn), quantity)); in test_entry_basics()
118 g_assert(gnc_numeric_eq (gncEntryGetQuantity (entry), gnc_numeric_neg (quantity))); in test_entry_basics()
H A Dtest-transaction-reversal.cpp98 if (gnc_numeric_eq(old_num, gnc_numeric_neg(new_num))) in run_test()
106 if (gnc_numeric_eq(old_num, gnc_numeric_neg(new_num))) in run_test()
H A Dgtest-qofquerycore.cpp73 EXPECT_TRUE (gnc_numeric_eq({ 500, 100 }, pdata->amount)); in TEST()
H A Dutest-Transaction.cpp1164 g_assert (gnc_numeric_eq (xaccTransGetAccountValue (fixture->txn, fixture->acc1), val1)); in test_xaccTransGetAccountValue()
1165 g_assert (gnc_numeric_eq (xaccTransGetAccountValue (fixture->txn, fixture->acc2), val2)); in test_xaccTransGetAccountValue()
1179 g_assert (gnc_numeric_eq (xaccTransGetAccountAmount (fixture->txn, fixture->acc1), amt1)); in test_xaccTransGetAccountAmount()
1180 g_assert (gnc_numeric_eq (xaccTransGetAccountAmount (fixture->txn, fixture->acc2), amt2)); in test_xaccTransGetAccountAmount()
H A Dutest-Account.cpp1545 g_assert (gnc_numeric_eq (priv->balance, bal)); in test_xaccAccountRecomputeBalance()
1546 g_assert (gnc_numeric_eq (priv->cleared_balance, clr_bal)); in test_xaccAccountRecomputeBalance()
1547 g_assert (gnc_numeric_eq (priv->reconciled_balance, rec_bal)); in test_xaccAccountRecomputeBalance()
/dports/finance/gnucash/gnucash-4.9/libgnucash/engine/
H A Dgnc-numeric.h364 gboolean gnc_numeric_eq(gnc_numeric a, gnc_numeric b);
H A DgncEntry.c549 if (gnc_numeric_eq (entry->quantity, quantity)) return; in gncEntrySetQuantity()
560 if (gnc_numeric_eq (entry->quantity, (is_cn ? gnc_numeric_neg (quantity) : quantity))) return; in gncEntrySetDocQuantity()
583 if (gnc_numeric_eq (entry->i_price, price)) return; in gncEntrySetInvPrice()
631 if (gnc_numeric_eq (entry->i_discount, discount)) return; in gncEntrySetInvDiscount()
707 if (gnc_numeric_eq (entry->b_price, price)) return; in gncEntrySetBillPrice()
H A DgncBillTerm.c371 if (gnc_numeric_eq (term->discount, discount)) return; in gncBillTermSetDiscount()
H A DgncTaxTable.c585 if (gnc_numeric_eq (entry->amount, amount)) return; in gncTaxTableEntrySetAmount()
H A DSplit.c839 if (!gnc_numeric_eq(xaccSplitGetAmount (sa), xaccSplitGetAmount (sb))) in xaccSplitEqual()
855 if (!gnc_numeric_eq(xaccSplitGetValue (sa), xaccSplitGetValue (sb))) in xaccSplitEqual()
H A Dgnc-numeric.cpp686 gnc_numeric_eq(gnc_numeric a, gnc_numeric b) in gnc_numeric_eq() function
H A Dgnc-pricedb.c572 if (!gnc_numeric_eq(p->value, value)) in gnc_price_set_value()
675 if (!gnc_numeric_eq (gnc_price_get_value (p1), in gnc_price_equal()
/dports/finance/gnucash/gnucash-4.9/libgnucash/app-utils/
H A Dgnc-sx-instance-model.c116 if (!numval || !gnc_numeric_eq (amount, *numval)) in scrub_sx_split_numeric()
/dports/finance/gnucash/gnucash-4.9/libgnucash/doc/design/
H A Dgnucash-design.info1397 -- Function: int gnc_numeric_eq (gnc_numeric A, gnc_numeric B)
4503 * gnc_numeric_eq: Numeric Comparisons and Predicates.
H A Dengine.texi666 @deftypefun int gnc_numeric_eq (gnc_numeric @var{a}, gnc_numeric @var{b})