Archive: [BUG] Big int values


[BUG] Big int values
Hi all,

I don't know the maximum values for the integer in NSIS (not specified in Integer support section of the official doc)
but I face a pb with IntOp on big numbers:

Test1:
IntOp $1 0 + 1000000000
MessageBox MB_OK|MB_ICONSTOP "R = $1"

=> R = 1000000000

Test2:
IntOp $1 0 + 10000000000
MessageBox MB_OK|MB_ICONSTOP "R = $1"

=>R = 1410065408

The matter is 10,000,000,000 is not a very huge number !!!

If I were talking about 10^32, I could understand that any limitation.... but 10 billions !!

Is there any way to fix it, or use any plugin that provides big int support ?

Thanks for your help,

Galevsky


The System plug-in has Int64Op.

Stu


Thks !

Galevsky


Integer ranges from - to +2*1024*1024*1024 %)
Erm...it would be easier for me to say it can't handle the correct size of the file that is more than 2Gb in real :) .