aboutsummaryrefslogtreecommitdiff
path: root/src/util/amount.c
AgeCommit message (Collapse)Author
2022-03-17-misc fixesChristian Grothoff
2022-02-17-fix CS nonce reuse check logicChristian Grothoff
2021-09-01add long-time overdue convenience functionChristian Grothoff
2021-07-23-rename TALER_amount_get_zero to TALER_amount_set_zeroChristian Grothoff
2021-07-10expose 2^52 amount value limit in header, check that limit in test cases, ↵Christian Grothoff
add TALER_amount_multiply and TALER_amount_divide2 operations
2020-08-29use enum instead of intChristian Grothoff
2020-08-12implement #6478, but untested as shown by FIXMEsChristian Grothoff
2020-04-23fix #6215~15757Christian Grothoff
2020-04-23write overflow check nicer (#6215)Christian Grothoff
2020-04-08fix #6170 and rest of #6164Christian Grothoff
2020-04-03fix ftbfsChristian Grothoff
2020-04-02fix #6148Christian Grothoff
2020-04-02fix #6147Christian Grothoff
2020-04-02fix #6146Christian Grothoff
2020-03-31typosCodeBlau-NGI-2019Christian Grothoff
2020-03-15clean up closer logic, improve error handling, simplify logic, add commentsChristian Grothoff
2020-02-29doxygen fixesChristian Grothoff
2020-01-20fixChristian Grothoff
2020-01-19denom->amountFlorian Dold
2020-01-19separate util.c and url.cChristian Grothoff
2020-01-19fix rounding, extend testChristian Grothoff
2020-01-19annotateChristian Grothoff
2020-01-19clean up amount logic, fix 2^53 checkChristian Grothoff
2020-01-19fix copyright headers as per CAChristian Grothoff
2020-01-18fix FTBFSChristian Grothoff
2020-01-18doxygen workChristian Grothoff
2020-01-17amount rounding a la ChristianFlorian Dold
2020-01-15round amounts based on config, do unit test for roundingFlorian Dold
2020-01-13eliminate libtalerwireChristian Grothoff
2019-10-05reindenting with uncrustifyChristian Grothoff
2019-08-25re-format codeFlorian Dold
2019-06-18reduce code duplicationChristian Grothoff
2019-02-114692. Fix global return code.Marcello Stanisci
2018-01-01refuse endian conversion for invalid amountsChristian Grothoff
2017-11-02lets use 52, the number of bits storedChristian Grothoff
2017-11-02fix #5167Christian Grothoff
2017-10-06fix signed calls to isalpha/isdigit/isspace etc.Christian Grothoff
2017-03-20fixing misc auditor issuesChristian Grothoff
2017-03-15update getopt config parsing style to match 'getopt' GNUnet branch API changeChristian Grothoff
2017-03-06add amount division API and test caseChristian Grothoff
2016-07-07fixing #4594Marcello Stanisci
2016-04-04fix test to ensure DB invariants are metChristian Grothoff
2016-01-19-fix (C) noticesChristian Grothoff
2015-07-20implementing #3905Christian Grothoff
2015-07-15-fix ftbfs in wallet-only modeChristian Grothoff
2015-07-05fix typeChristian Grothoff
2015-06-03more documenting, checking for consistency between prepared statements and ↵Christian Grothoff
functional logic
2015-04-13starting with tests for libtalerutilChristian Grothoff
2015-03-28-doxygen fixesChristian Grothoff
2015-03-26util: avoid memcpy over overlapping memorySree Harsha Totakura
memcpy used to copy the currency string in TALER_amount_get_zero can copy from overlapping memory regions. This happens when the diff parameter to TALER_amount_substract is same as a1 parameter.