|
From: | Doug Stewart |
Subject: | Re: bug |
Date: | Thu, 30 Jan 2020 08:04:28 -0500 |
> Sent: Wednesday, January 29, 2020 10:37 PM
> To: address@hidden
> Subject: bug
>
> The below is my program.
>
> If I use px=mod(ii,a) instead px=ii-fix(ii/a)*a;
>
> Error occurred
>
> I think this is some bugs.
>
> Yours Ted Furuya
>
> for a=1:100;
> for ii=a+1:500;
> px=ii-fix(ii/a)*a;
> p2=fix(ii/a);
> p3=mod(3*a,ii);
> if ii<a*3&&px==7&&p2==1&&p3==5,qx=a+ii;endif
> endfor
> endfor
> qx
In Octave version 5.1.0 on Windows 10, I get the same output with either line.
Tony Richardson
[Prev in Thread] | Current Thread | [Next in Thread] |