Konrad Foerstner wrote: > Hi, > > My todays problem: I extraxt some data out of a file, stored it etc., put > them into an equation and print it to an outputfile in which the results > are sorted by some of their values. The equation was first a linear one > (and worked perfectly), but now I would like to work with exponents (Basis > 2, exponent the input values) and the trouble begins. As the resulting > numbers are to big (I get "inf" for some values) and only the order of the > results are important, I decided to devide the intermediate results before > they are use as an exponent. But: the order of the end result differes > when I use different dividers (and my mathematical knowledge say this > should not be). >
i don't really understand your problem, have you try: [panda@dzhuo]# perl -Mbigint -e 'print 2**1000,"\n"' [panda@dzhuo]# even for that it should never be too big and the number is printed. david -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]