Re: A possible MAJOR bug on the 86
[Prev][Next][Index][Thread]
Re: A possible MAJOR bug on the 86
>I don't know if my calculator is messed up, or what, but I have a
>serious problem. I have rom 1.2 on the 86. Why doesn't this work?:
>
>10-->D
>gcd(D,12
>It returns a domain error.
>
>If that works for you, try this subroutine I made up:
>First store {10,12,4,2,8,12} into L
>
>:dimL L-->A
>:L(1)-->D
>:For(B,1,A-1)
>:gcd(D,L(B+1))-->D
>:End
>:L/D-->L
>
>This subroutine [finds] the gcd of all the numbers stored in list L, and
>then divides by it, thereby "simplifying" it.
>BUT, whenever I store {10,12,4,2,8,12} in for L and then run the
>program, it gives a DOMAIN error. WHY?
>It works perfectly for any other list, but specifically
>{10,12,4,2,8,12} doesn't seem to work.
My 86 (rom 1.2) has no problems with either algorithm.
By the way, I downloaded the chemistry program that this sub is a part
of.
Maybe you could improve the arcane user interface and documentation?
Kevin DeGraaf (TI-86)
Class of 1999, Unity Christian High School
EMail: kdegraaf@NOSPAM-juno.com
References: