Skip to Main content Skip to Navigation
Conference papers

Algorithms for manipulating quaternions in floating-point arithmetic

Abstract : Quaternions form a set of four global but not unique parameters, which can represent three-dimensional rotations in a non-singular way. They are frequently used in computer graphics, drone and aerospace vehicle control. Floating-point quaternion operations (addition, multiplication, reciprocal, norm) are often implemented "by the book". Although all usual implementations are algebraically equivalent, their numerical behavior can be quite different. For instance, the arithmetic operations on quaternions as well as conversion algorithms to/from rotation matrices are subject to spurious under/overflow (an intermediate calculation underflows or overflows, making the computed final result irrelevant, although the exact result is in the domain of the representable numbers). The goal of this paper is to analyze and then propose workarounds and better accuracy alternatives for such algorithms.
Complete list of metadatas

Cited literature [25 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-02470766
Contributor : Jean-Michel Muller <>
Submitted on : Monday, May 11, 2020 - 8:57:56 AM
Last modification on : Tuesday, May 12, 2020 - 1:43:09 AM

File

quaternions.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-02470766, version 2

Citation

Mioara Joldeş, Jean-Michel Muller. Algorithms for manipulating quaternions in floating-point arithmetic. ARITH-2020, IEEE 27th Symposium on Computer Arithmetic, Jun 2020, Portland, United States. ⟨hal-02470766v2⟩

Share

Metrics

Record views

69

Files downloads

24