Questions tagged [arithmetic]

Questions on arithmetic operations in Mathematica.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
80 views

Force computation on IEEE float/double

I'm checking two different procedures that will eventually be used with regular floating point arithmetic. I need to estimate numerical error arising from floating point arithmetic. Is there a way to ...
Radost's user avatar
  • 211
4 votes
0 answers
170 views

How can one best implement the multiplication of octonions using the Quaternions package?

I excerpt from p. 4 of the recent paper of P. J. Forrester (https://arxiv.org/pdf/1610.08081.pdf): "Let $p_1$ and $p_2$ be quaternions. The octonion algebra consists of elements of the form $p_1+p_2 ...
Paul B. Slater's user avatar
3 votes
0 answers
73 views

Problem with Mathematica Relationship Building

When I enter the following to get Mathematica to open my pod door I get Could someone try and replicate this? Also, my name is not Dave and I throw my own error... ...
MikeY's user avatar
  • 7,113
1 vote
0 answers
66 views

Explanation on why this gives overflow?

If you have a phrase like $10^{0.00057 \cdot 10^{42}}$ that gives "overflow", what is the reason? Is it because, well, something about the size of this whole thing?
Abcderia's user avatar
  • 115
1 vote
0 answers
50 views

Buggy IntervalUnion with Quantities?

IntervalUnion can give wrong output when used with Quantity: ...
alancalvitti's user avatar
0 votes
0 answers
53 views

Ordinal arithmetic

How can I compute with ordinals in mathematica? For instance, I'd like to query $2+\omega > 1 + 2 \omega$.
user1868607's user avatar
0 votes
0 answers
81 views

Why does Log[Abs[#]] return a complex number?

For a nonzero number $x$, $\log|x|$ should be a real number. Why does the following NestList contain non-real numbers when no numbers involved are close to zero? Is it a bug? ...
Yizhen Chen's user avatar