Skip Menu |

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

Report information
The Basics
Id: 86116
Status: rejected
Priority: 0/
Queue: Math-Quaternion

People
Owner: jon-pause-public [...] earth.li
Requestors: bruce.gray [...] acm.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 0.04
Fixed in: (no value)



Subject: Bug in power() POD example
In the POD example for the power method, it says: my $q5 = exp(1)**( Math::Quaternion->new(pi,0,0) ); # approx (-1 0 0 0) The arguments to new() are incorrect to achieve that result. To fix the bug, just change this: (pi,0,0) to this: (0,pi,0,0) -- Thank you, Bruce Gray (Util of PerlMonks)
I don't think this is a bug: if you pass a list of three floats to new(), then the first one is implicitly zero, so new(pi,0,0) should give the same results as new(0,pi,0,0) (and did so when I tried it..(
I don't think this is a bug: if you pass a list of three floats to new(), then the first one is implicitly zero, so new(pi,0,0) should give the same results as new(0,pi,0,0) (and did so when I tried it..)