mIRC Homepage

Long numbers conversion bug

Posted By: GodGell

Long numbers conversion bug - 23/11/03 12:16 PM

Hey! smile
i just found a bug in $base.
first, converting from decimal to 36's numbersystem, big numbers (6-7 digits) not always return the right value (when i convert them back to decimal, they dont match the original number). and the more critical bug. try $base(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999,10,36) . this does not return nothing. but if you use it in a command, for example echo, mirc quits. i hope you'll find the reason for this Khaled laugh
Posted By: zfr

Re: Long numbers conversion bug - 03/12/03 05:43 AM

Yes, i have reproduced it.

Using mIRC 6.12 and Windows 98 (Turkish)

Here is the error message:
MIRC, yığın hatasına neden oldu; birim: MIRC.EXE konum: 015f:0056fddb.
EAX=00000008 CS=015f EIP=0056fddb EFLGS=00010206
EBX=00000008 SS=0167 ESP=00721ffc EBP=0072200c
ECX=0000027f DS=0167 ESI=007222f2 FS=395f
EDX=0058c040 ES=0167 EDI=0072230a GS=0000
CS:EIP:'deki Baytlar
53 56 33 db 8b f0 83 e6 1f 43 a8 08 89 75 fc 74 
Yığın dökümü:
00000000 00000000 00000000 00000000 007220bc 00571520 00000008 0072230a 0000027f 01826760 00000024 0058c040 0000027f 00000000 0000027f 00000008
Posted By: GodGell

Re: Long numbers conversion bug - 05/12/03 10:05 PM

gr8 smile
well, i hope you wont be angry if i say, that win98 is a s h i t. it is based on dos, and slow and instabile and etc etc, well winnt is much better, and nt 5.1 (xp) is the best windows on the market smile so you'd better use xp than 98 because errors like this on win98 sometimes appear on an as complex calculation as (1+1)*(1-1) smile it isnt clever enough to calculate it, it isnt clever enough to just pass it to the cpu. smile
Posted By: ParaBrat

Re: Long numbers conversion bug - 06/12/03 05:45 AM

Please lets not turn this into an OS bashing thread. The OS used by anyone is a matter of personal choice and finances.
Posted By: GodGell

Re: Long numbers conversion bug - 07/12/03 08:53 PM

bah, sorry.. i just hate seeing ppl still crawling on those OS's smile
nevermind, so Khaled, $base is buggy! smile
© 2021 mIRC Discussion Forums