Talk:Quaternion type: Difference between revisions

m (→‎What simple properties should become part of the task?: With '''compl'''[ex] numbers such a test could be to check that exp(πi)=-1. Is there an equivalent for Quaternions?)
Line 32:
This is just a personal preference, in preference to a simple 1+1=2 test I prefer - if possible - tests that are a little but more extensive.
For example for the [[Rational Arithmetic]] test:<blockquote> Use the new type '''frac'''[tion] to find all perfect numbers less then 2<sup>19</sup> by summing the reciprocal of the factors. </blockquote>
 
Basically this test is nice because runs the gauntlet of multiple additions and divisions to come up with a known result.
Line 39:
 
[[User:NevilleDNZ|NevilleDNZ]] 05:16, 4 August 2010 (UTC)
 
: As I understand it, unit quaternions are used to model rotations. Perhaps using them to model some kind of rotation would do as a “demonstration” question? –[[User:Dkf|Donal Fellows]] 07:20, 4 August 2010 (UTC)
Anonymous user