Thanks, wirh a little sleep the two x's look different.  Linda

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Raul Miller
Sent: Wednesday, February 18, 2015 3:01 AM
To: Programming forum
Subject: Re: [Jprogramming] Irrational behavior of supposedly rational number

Perhaps this will be relevant to you:

   6x
6
   6X
|ill-formed number
   'x'='X'
0

Thanks,

--
Raul

On Wed, Feb 18, 2015 at 2:39 AM, Linda Alvord <[email protected]> wrote:
> Run these seven lines to get error. Enter 3%6x and it works. Now go to 
> line with error an click and return to repeat the error.
>
>
>
>    divy=: 13 :'(,.<"1((<.x%y),y)$''*''),<(x-y*<.x%y)$''*'''
>
>    27 divy 6
>
> -------┐
> │******│
> +------+
> │******│
> +------+
> │******│
> +------+
> │******│
> +------+
> │***   │
> L-------
>
>    27%6x
>
> 9r2
>
>    3%6x
>
> 1r2
>
>    33 divy 6
>
> -------┐
> │******│
> +------+
> │******│
> +------+
> │******│
> +------+
> │******│
> +------+
> │******│
> +------+
> │***   │
> L-------
>
>    33%6x
>
> 11r2
>
>    3%6X
>
> |ill-formed number
> |[-6] c:\users\linda\j64-803-user\temp\74.ijs
>
>    3%6x
>
> 1r2
>
>    3%6X
>
> |ill-formed number
>
>
>
> Linda
>
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to