gnucash stable: Bug 798901 - Wrong value for very small prices from Finance::Quote.

John Ralls jralls at code.gnucash.org
Fri Jun 23 17:44:50 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/e98d3534 (commit)
	from  https://github.com/Gnucash/gnucash/commit/6b48c6ce (commit)



commit e98d3534ced52b80994cb9e19b425c6662cfbcaa
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Jun 23 14:39:37 2023 -0700

    Bug 798901 - Wrong value for very small prices from Finance::Quote.
    
    Implement parsing number strings in scientific notation, avoiding
    interpreting hexadecimal integers that way, "e" being a hex digit.



Summary of changes:
 libgnucash/engine/gnc-numeric.cpp            | 177 +++++++++++++++++++--------
 libgnucash/engine/test/gtest-gnc-numeric.cpp |  12 ++
 2 files changed, 136 insertions(+), 53 deletions(-)



More information about the gnucash-patches mailing list