Thread use bigint (10 answers)
Opened by rosti at 2019-10-21 17:20

haj
 2019-10-21 20:25
#190782 #190782
User since
2015-01-07
527 Artikel
BenutzerIn

user image
2019-10-21T17:59:17 murphy
Sowohl perl -Mbigint -E'say log 2' als auch perl -Mbigint -E'say log 2**256' liefern als Ergebnis NaN.


Mit welcher Perl-Version erhältst Du hierfür NaN?

Code: (dl )
1
2
3
haj@hajdesktop:~$ perl -Mbigint -E'say $^V; say log 2**256'
v5.30.0
177

Code: (dl )
1
2
3
haj@hajdesktop:~$ perl -Mbigint -E'say $^V; say log 2**256'
v5.10.1
177

View full thread use bigint