help-octave
[Top][All Lists]
Advanced

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

Re: bug


From: Doug Stewart
Subject: Re: bug
Date: Thu, 30 Jan 2020 08:04:28 -0500



On Thu, Jan 30, 2020 at 7:59 AM Richardson, Anthony <address@hidden> wrote:
> 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




It also works both ways in Octave 5.1.9 in Ubuntu.


--
DASCertificate for 206392


reply via email to

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