develooper Front page | perl.perl5.porters | Postings from April 2008

[PATCH] perlfunc.pod: atan2(0,0) returns 0, not undef

Thread Next
From:
Paul Fenwick
Date:
April 5, 2008 18:28
Subject:
[PATCH] perlfunc.pod: atan2(0,0) returns 0, not undef
Message ID:
47F8273B.6010504@perltraining.com.au
G'day p5p,

The current perlfunc documentation states correctly that atan2(0,0) is not 
well defined, which implies to the reader that Perl returns undef for this 
point.  It doesn't, it returns 0, and provides no warning that such 
foolishness has been entered into.

The attached patch documents that atan2(0,0) does actually return 0.

I'd also like to take this opportunity to nudge regarding my older patch to 
shutdown[1], which I believe is correct but unapplied.

Cheerio,

	Paul

[1] http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2008-03/msg00857.html

-- 
Paul Fenwick <pjf@perltraining.com.au> | http://perltraining.com.au/
Director of Training                   | Ph:  +61 3 9354 6001
Perl Training Australia                | Fax: +61 3 9354 2681

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About