2013-04-28T08:04:17
tonewheel'Learning Perl', 5th Edition (neben einigen anderen)
'....... But internally, Perl computes with double-precision floating-point values. This means, there are no integer values internal to Perl
Das kann auch schon deswegen nicht richtig sein, weil es ja mit
integer ein pragma gibt, mit dem man mit Integern rechnet.
QuoteInternally, native integer arithmetic (as provided by your C compiler) is used. This means that Perl's own semantics for arithmetic operations may not be preserved. One common source of trouble is the modulus of negative numbers, which Perl does one way, but your hardware may do another.