in reply to Re: Non-integer print output???
in thread Non-integer print output???
The exponentiation operator a**b is IIRC optimized to generally handle float input for a and b and is approximating the result.
The result is hence usually a float.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Non-integer print output???
by syphilis (Archbishop) on Sep 10, 2021 at 14:33 UTC | |
by bliako (Abbot) on Sep 10, 2021 at 17:18 UTC | |
by LanX (Saint) on Sep 10, 2021 at 15:45 UTC |