It would be nice if it worked.
Unfortunately (again!), for the actual size required,
timer'_10{. |. 281474976710656&|@*/\.<.1+2*i.-2^24'
+------+-------------------+
|32.001|0 0 0 0 0 0 0 0 0 0|
+------+-------------------+
whereas the correct values are all > 0
This is why I needed special code, either using extended
integers and then making the results simple 64-bit integer,
or using a mask and shift method and working on 24-bit
components.
Pity!
Thanks,
Mike
On 16/05/2017 15:42, Raul Miller wrote:
timespacex'|. 281474976710656&|@*/\.<.1+2*i.-2^12'
0.00096 331904
(281474976710656&|@*/\x:1+2*i.2^5) -: |. 281474976710656&|@*/\.<.1+2*i.-2^5
1
I hope this helps,
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm