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.

long numbers

Old posts that have not been replied to for several years.
Locked
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

long numbers

Post by greenbear »

could anyone please give me any pointers on how to work with very high numbers ?

10000000*100000000
Tcl: -1530494976

...
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

There is no simple way to do this in Tcl.

However, there are some math packages (extentions simalar tot he http system) that can be used.

See www.tcl.tk
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

didnt really find anything in the tcllibs that i could use

I was gonna play around with converting normal ips into long ip's, but the numbers get to high.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The Mexpr package may be of interest for you with this.

http://resource.tcl.tk/resource/softwar ... ions/misc/
Locked