~. 3 : '# ~. x {~ ?~ # x' "0 i.1e5
3 5 4 6 7 2 1


On Mon, Mar 31, 2014 at 11:58 AM, Roger Hui <[email protected]>wrote:

> This is a long known fact and an artifact of tolerant comparison.  There
> is no need to involve sorting to demonstrate non-intuitive behavior.
>
>    t=: 2^_44
>    x=: 1 + t * 16 %~ ?100$128
>
>    # ~. x {~ ?~ # x
> 4
>    # ~. x {~ ?~ # x
> 3
>    # ~. x {~ ?~ # x
> 5
>    # ~. x {~ ?~ # x
> 4
>
>
>
>
>
> On Mon, Mar 31, 2014 at 11:50 AM, Henry Rich <[email protected]> wrote:
>
>>    a
>> 1 1 1 1 1
>>    /:~ ~. a
>> 1 1 1
>>    ~. /:~ a
>> 1
>>
>>
>> I'm just saying.
>>
>> Henry Rich
>> ----------------------------------------------------------------------
>> 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