About atom memories
- Posted by aku saya <akusaya at gmx.net> Feb 24, 2003
- 385 views
I tried this program: object x for i = 1024*1024 to 1000000000000000000000 by 1024*1024 do x = repeat(i+111111111.111111111111111111111111111111111, i) ? i printf(1, "%20.20f\n", x[i]) x = getc(0) end for after i = 10MB, I saw the memory usage (using TaskInfo2000), it was 41376 KB ~~ 40.4 MB So one atom just use 4 bytes, not 8 bytes? And the precision is still 16 digits! (I get 121596871.11111110000000000000 at the last line) If it's like that, EU is better that I thought!