help-octave
[Top][All Lists]
Advanced

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

RE: bug


From: Richardson, Anthony
Subject: RE: bug
Date: Thu, 30 Jan 2020 12:58:53 +0000

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]