Just noticed I wrote *do* wrong. I meant ".

Why would ". convert the same repeated character string into different (on
a bit level) numbers?

On Thu, Aug 19, 2021 at 7:33 PM Pablo Landherr <[email protected]>
wrote:

> OK, I buy that. However, the origin of the data makes this dubious. The
> data is imported as characters, so what I have is a bunch (thousands) of
> '0.05' converted in one go by ":
> Why would ": convert the same repeated character string of '0.05' into
> different numbers on a bit level?
>
> Kr,
> Pablo
>
> On Thu, Aug 19, 2021 at 7:13 PM Brian Schott <[email protected]>
> wrote:
>
>> Try this?
>>
>>    cf =: 3 : '(~.y),.#/.~y '
>>    imp =: -,+
>>    0.05 imp 0.1*9!:18 ''
>> 0.05 0.05
>>    ~. 0.05 imp 0.1*9!:18 ''
>> 0.05 0.05
>>    cf 0.05 imp 0.1*9!:18 ''
>> 0.05 1
>> 0.05 1
>>
>>
>>
>> --
>> (B=)
>> ----------------------------------------------------------------------
>> 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