Re: Calculating MOD


[Prev][Next][Index][Thread]

Re: Calculating MOD



Thomas J. Hruska -- thruska@tir.com
>>As far as I know, none of the TI-xx calcs have support for modular
>>arithmetic.  [snip]  Remember, n-d*int(n/d)  is equivalent to n MOD d.

82nd Deer <eviljim@MEGSINET.NET>
>Why not just use the MOD statement?  AFAIK it's on all the
>calculators, I know for a fact it's on the 85.

Same thing on the 86's.  mod(n,d)=n-d*int(n/d)

Kevin DeGraaf  (TI-86)
Class of 1999, Unity Christian High School
EMail: kdegraaf@NOSPAM-juno.com


References: