This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

i'm probably not the first who has asked this :)

Old posts that have not been replied to for several years.
Locked
G
Guest

Post by Guest »

Hi there

I'm quite new with eggdrop and everything surrounding it, and i found an rather irritating thing :smile: I found out that the eggdrop doesn't support integers higher then aprox. 2100000000.When it's reaches that number it switches to below zero.And now happens to be the problem that i need to work with higher integers...is there a way to go over that number..maybe a patch or something like that...
I use the integers in combination with some tcl scripts.

If anyone could help It would be very appriciated, if it's possible by mail..but on the forum is good also :smile:

tnx in advance :smile:
greets,
ObRaY

<font size=-1>[ This Message was edited by: ObRaY on 2001-11-03 18:46 ]</font>

<font size=-1>[ This Message was edited by: ObRaY on 2001-11-03 18:48 ]</font>
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You will find the limit is 2147483647.

TCL works with signed intigers, which have a limit (as with all data types).

I sugest you either doanload some sort of precision math library for TCL (existance unknown), or write some functions to use strings for storage, and split calculations.
Locked