mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Limit the range of the random value to 1..1000 to prevent overflows, particularly in number-of-periods or number-of-years variables. While we're at it, g_random_int and g_random_int_range return ints so piping the result through gnc_double_to_numeric() doesn't make much sense. That's removed, we just construct a gnc_numeric. |
||
---|---|---|
.. | ||
app-utils | ||
backend | ||
core-utils | ||
doc | ||
engine | ||
gnc-module | ||
quotes | ||
scm | ||
tax | ||
CMakeLists.txt |