/dports/finance/gnucash/gnucash-4.9/libgnucash/engine/test/ |
H A D | test-numeric.cpp | 155 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 D | test-transaction-voiding.cpp | 134 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 D | utest-Entry.c | 109 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 D | test-transaction-reversal.cpp | 98 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 D | gtest-qofquerycore.cpp | 73 EXPECT_TRUE (gnc_numeric_eq({ 500, 100 }, pdata->amount)); in TEST()
|
H A D | utest-Transaction.cpp | 1164 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 D | utest-Account.cpp | 1545 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 D | gnc-numeric.h | 364 gboolean gnc_numeric_eq(gnc_numeric a, gnc_numeric b);
|
H A D | gncEntry.c | 549 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 D | gncBillTerm.c | 371 if (gnc_numeric_eq (term->discount, discount)) return; in gncBillTermSetDiscount()
|
H A D | gncTaxTable.c | 585 if (gnc_numeric_eq (entry->amount, amount)) return; in gncTaxTableEntrySetAmount()
|
H A D | Split.c | 839 if (!gnc_numeric_eq(xaccSplitGetAmount (sa), xaccSplitGetAmount (sb))) in xaccSplitEqual() 855 if (!gnc_numeric_eq(xaccSplitGetValue (sa), xaccSplitGetValue (sb))) in xaccSplitEqual()
|
H A D | gnc-numeric.cpp | 686 gnc_numeric_eq(gnc_numeric a, gnc_numeric b) in gnc_numeric_eq() function
|
H A D | gnc-pricedb.c | 572 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 D | gnc-sx-instance-model.c | 116 if (!numval || !gnc_numeric_eq (amount, *numval)) in scrub_sx_split_numeric()
|
/dports/finance/gnucash/gnucash-4.9/libgnucash/doc/design/ |
H A D | gnucash-design.info | 1397 -- Function: int gnc_numeric_eq (gnc_numeric A, gnc_numeric B) 4503 * gnc_numeric_eq: Numeric Comparisons and Predicates.
|
H A D | engine.texi | 666 @deftypefun int gnc_numeric_eq (gnc_numeric @var{a}, gnc_numeric @var{b})
|