x:".s first computes ".s, which is a floating-point approximation of the
number represented by s, and _then_ converts that floating-point approximation
to an extended precision value. (The latter conversion may also be
approximate, pursuant to comparison tolerance, but is always exact when
app
Hi Raul,
alas, you are right. Say, I have the following string:
s =: '34823742834835345345345346546454237'
Since x: does not accept strings as arguments I first tried to convert
s into an integer before casting it to extended int, as you showed
before. However, this gives me the wrong result, wh
I do not think you get the same results using x:
I think your ".@,&'x'@> data was fine.
You could use 10#.x:".@>@> data if you don't mind the speed penalty
and excessive use of memory, but x:".@> data does not give the same
answer, and as far as I know, x: does not accept string arguments.
Am I
Sorry for the noise,
question can be revoked, since I found x: ...
Regards,
Thomas
Am Sa., 23. Apr. 2022 um 23:54 Uhr schrieb Thomas Bulka
:
>
> Hello everyone,
>
> say, I have a boxed list of strings which represent large integers
> (originally I imported the data from a text file):
>
> data =
Hello everyone,
say, I have a boxed list of strings which represent large integers
(originally I imported the data from a text file):
data =: '34823742834835345345345346546454237';'34593823489289342893498945349539'
I want to convert the character data into integers to use them for
computations,