Posted By: GodGell
Long numbers conversion bug - 23/11/03 12:16 PM
Hey! 
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

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
