Linas Vepstas <[EMAIL PROTECTED]> writes:

> fix the test case; it really is an overflow on division, 
> there's a bunch of huge prime numbers involved.

Unfortunately this test-case actually came from test-query..  It had
created a random transaction that happened to have those two values as
the amount and value and was trying to compute the shareprice.
Obviously that calculation failed, which caused the test-query to
fail.

Could you please explain exactly what a division overflow means?

If this test-case really is going to over-flow on this operation then
we need to fix all the other tests to make "reasonable" random
gnc-numerics.  Go run 'test-query' and watch it fail consistently
(although not necessarily 100% of the time).

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [EMAIL PROTECTED]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[EMAIL PROTECTED]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to