2011-05-12T12:03:01 biancaHi!
Was empfehlt ihr mir?
2011-05-12T13:13:24 TaulmarillMit welcher Geschwindigkeit ist die überwachte Schnittstelle denn angebunden?
1 2 3 4 5 6 7 8 9 10 11 12 13
use warnings; use strict; use Math::BigInt; my $mbi = Math::BigInt->new( 2 ) ** Math::BigInt->new( 53 ); my $n = 2 ** 53; for my $o ( -10 .. 10 ) { printf "%.0f - ", $n + $o; print $mbi + $o; print "\n"; }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
9007199254740982 - 9007199254740982
9007199254740983 - 9007199254740983
9007199254740984 - 9007199254740984
9007199254740985 - 9007199254740985
9007199254740986 - 9007199254740986
9007199254740987 - 9007199254740987
9007199254740988 - 9007199254740988
9007199254740989 - 9007199254740989
9007199254740990 - 9007199254740990
9007199254740991 - 9007199254740991
9007199254740992 - 9007199254740992
9007199254740992 - 9007199254740993
9007199254740994 - 9007199254740994
9007199254740996 - 9007199254740995
9007199254740996 - 9007199254740996
9007199254740996 - 9007199254740997
9007199254740998 - 9007199254740998
9007199254741000 - 9007199254740999
9007199254741000 - 9007199254741000
9007199254741000 - 9007199254741001
9007199254741002 - 9007199254741002
2011-05-12T14:00:30 TaulmarillAlso 2 hoch 32 sollte schon mal völlig unproblematisch sein.