Re: Total Combinations Matching a Set Sum
- From: "Paul Black" <paul_black27@xxxxxxxxxxx>
- Date: 1 Jul 2005 04:06:38 -0700
Thanks for the Reply Einer,
Einar Andreas Rødland wrote:
> It seems to me the line
> For I = minval To (Target + 5) / 6 - 3
> does this in integer arithmetic and that getting the correct solution
> depends critically on how the language interprets this when the upper
> bound does not give an integer value.
I Ran the Program Using the Figures After the Divide Sign as 3 for I, 3
for J, 2 for K, 2 for L & 1 for M and got Garbbage. You were Quite
Right in your Theory that it Must be Something to do with Integer
Arithmetic. Not Being Up on this Sort of thing, I will just have to
Accept it Works for Whatever Reason.
Thanks Again for your Help.
All the Best.
Paul
.
- References:
- Re: Total Combinations Matching a Set Sum
- From: Henry
- Re: Total Combinations Matching a Set Sum
- From: Paul Black
- Re: Total Combinations Matching a Set Sum
- From: Einar Andreas Rødland
- Re: Total Combinations Matching a Set Sum
- Prev by Date: Re: Total Combinations Matching a Set Sum
- Next by Date: Re: When to use Fisher?
- Previous by thread: Re: Total Combinations Matching a Set Sum
- Next by thread: Re: USENET Discussion Laws and Corollaries
- Index(es):
Relevant Pages
|