What is 3-Digit Floating Point Arithmetic and How Does It Function?

  • Context: Undergrad 
  • Thread starter Thread starter brandy
  • Start date Start date
  • Tags Tags
    Arithmetic
Click For Summary
SUMMARY

3-digit floating point arithmetic refers to the representation of numbers using a 3-digit mantissa and an exponent, particularly in the context of avoiding catastrophic cancellation in calculations such as the quadratic equation. Participants in the discussion clarified that while calculators may use more digits internally, the process of rounding to three digits can significantly affect the outcome of calculations. The consensus is that all input numbers should be rounded to three significant figures before performing operations, and the final result should also be rounded to three digits to maintain consistency in precision.

PREREQUISITES
  • Understanding of floating point arithmetic
  • Familiarity with significant figures and rounding rules
  • Basic knowledge of quadratic equations
  • Experience with numerical methods and error analysis
NEXT STEPS
  • Research the concept of catastrophic cancellation in numerical analysis
  • Learn about floating point representation in programming languages
  • Explore the implications of significant figures in scientific calculations
  • Study the effects of rounding errors in iterative algorithms
USEFUL FOR

Mathematicians, engineers, computer scientists, and anyone involved in numerical analysis or computational mathematics will benefit from this discussion on 3-digit floating point arithmetic.

brandy
Messages
156
Reaction score
0
what is 3(or i, where i=1,2,3,4...∞) digit arithmetic? is it just working with 3 decimals or 3 significant figures? or is it base 3 arithmetic?
 
Mathematics news on Phys.org
brandy said:
what is 3(or i, where i=1,2,3,4...∞) digit arithmetic? is it just working with 3 decimals or 3 significant figures? or is it base 3 arithmetic?

Context?

The expression could mean anything.

But if I heard someone say they could do 3 digit arithmetic, I would assume they could add subtract and multiply 3-digit numbers (100-999).
 
the context was talking about floating point numbers and catastrophic cancellation in the quadratic equation.

it said using 3 digit arithmetic:
*subs in some numbers, 0.2, 100.9 etc into the quad equation and at the end rounds the entire number to 3 digits*

am i right in assuming that all the numbers used to input had to be 3 decimals and then the final number had to be 3 digits?
or does every number in the process have to be rounded to 3 decimals as the number is created? step by step?
 
Of course, any decent calculator or computer will carry 12 or more digits for its calculations. But just to give a simple example, that a human could calculate easily, of how cancellation happens, they are restricting to three digits. I don't see any difference between using three digits from the outset and rounding to three digits.
 
HallsofIvy said:
I don't see any difference between using three digits from the outset and rounding to three digits.
What? Of course there's a difference.
 
Since the context is floating point arithmetic, my guess at what you're asking is that numbers are represented by a 3-digit mantissa and an exponent.

Using the numbers you gave as examples, 0.2 would be 2.00 x 10-1 and 100.9 would be 1.01 x 102.

If you want a better answer, you'll need to ask a question that is clearer.
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
623
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K