Skip Menu |
 

This queue is for tickets about the Math-Trig CPAN distribution.

Report information
The Basics
Id: 73817
Status: new
Priority: 0/
Queue: Math-Trig

People
Owner: Nobody in particular
Requestors: polgab [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Round error in _remt function
Download (untitled) / with headers
text/plain 220b
print deg2deg(-60); # print -60 instead of 300 Some words from perldoc -f int : You should not use int() for rounding: one because it truncates towards 0... Function _remt() uses int() to rounding !


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.