On 10-09-02 09:32 AM, Jim wrote:
It's really not a question of it being perplexing more so than like I said maddening in terms of why solutions just aren't intrinsic to the programming language. If ops are slower, so what... throw some more hw at the problem... hw is cheap... people's time isn't.
See `perldoc perlfaq4` and search for /Does Perl have a round() function? What about ceil() and floor()? Trig functions?/
The question is: Does Perl round off numbers, or take their floor(), or their ceil()? The answer depends on the circumstances. Since Perl cannot read your mind, it leaves it up to you to determine what it does.
As I said before, there's a whole field of mathematics called Numerical Analysis on this. If very smart mathematicians need to study this problem for years before they can get it right, how do you expect Perl to do it so simply?
-- Just my 0.00000002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/