Skip Menu |

This queue is for tickets about the Geography-NationalGrid CPAN distribution.

Report information
The Basics
Id: 59675
Status: new
Priority: 0/
Queue: Geography-NationalGrid

Owner: Nobody in particular
Requestors: bitcard [...]

Bug Information
Severity: Wishlist
Broken in: 1.6
Fixed in: (no value)

Subject: Wrong value for PI
Download (untitled) / with headers
text/plain 651b
This package appears to use an incorrect value for PI. Line 7 of is: use constant PI => 3.141592653897543238452643383279; ***** * I think this should be: use constant PI => 3.141592653589793238462643383279; ***** * This constant is used in the degrees-to-radians conversion functions deg2rad and rad2deg, which results in very slight inaccuracy in these conversions. The inaccuracy is estimated to cause a typical conversion from lat/long to OSGR to be out by a few millimetres, which is insignificant. This bug report is therefore purely academic.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to