• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Are decimals flawed

Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#1
First: a maths problem i'm sure most of us know - 0.99 recurring x 10 - 0.99 recurring =9

this states that 0.99 recurring is = 1 and so does the equation

1/3=0.3'

however when you multiply out 0.3' you get 0.9' which means that 0.9' and 1 are the same, however 0.9' is not 1, but slightly less

my understanding of maths however, is that one numerical value cannot be the same as another

does this mean maths is flawed?

if so, is there a number system under which these problems do not occur?
 
Last edited:
Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#3

lucas4

New Member
Joined
Feb 25, 2011
Messages
232 (0.09/day)
Likes
31
System Name Xmas Rig - updated :)!
Processor i7 2600K @ stock
Motherboard MSI P67
Cooling ThermoLab Trinity
Memory 4GB DDR3
Video Card(s) 4870
Storage 128GB SSD, 2TB storage
Audio Device(s) Onboard
Power Supply Corsair
Software Windows 7 64-bit
#4
no, because recurring means there is no end to the number (IIRC)
u can't do it on a calculator or anything, because when ur typing in the number, it isnt actually recurring unless u type it as a fraction.
i see what you are saying, but the margin of error is so minute, its practically insignificant.

at least thats the way i see it :p!

interesting point none the less :toast:
 

lucas4

New Member
Joined
Feb 25, 2011
Messages
232 (0.09/day)
Likes
31
System Name Xmas Rig - updated :)!
Processor i7 2600K @ stock
Motherboard MSI P67
Cooling ThermoLab Trinity
Memory 4GB DDR3
Video Card(s) 4870
Storage 128GB SSD, 2TB storage
Audio Device(s) Onboard
Power Supply Corsair
Software Windows 7 64-bit
#5
First: a maths problem i'm sure most of us know - 9.99 recurring x 10 - 9.99 recurring =9

this states that 0.99 recurring is = 1 and so does the equation
it = 90 btw :nutkick:
 
Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#6

lucas4

New Member
Joined
Feb 25, 2011
Messages
232 (0.09/day)
Likes
31
System Name Xmas Rig - updated :)!
Processor i7 2600K @ stock
Motherboard MSI P67
Cooling ThermoLab Trinity
Memory 4GB DDR3
Video Card(s) 4870
Storage 128GB SSD, 2TB storage
Audio Device(s) Onboard
Power Supply Corsair
Software Windows 7 64-bit
#7
its an interesting point, and quite awkward to explain why 0.99 doesnt = 1.

i think the easiest way to explain it may be rounding error in the apparatus we use :toast:??
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
9,379 (3.16/day)
Likes
2,101
Location
Home
System Name Asus K50-X5DAB \\ Orange!
Processor Athlon QL-65 2.2Ghz \\ 3570K
Motherboard Laptop \\ ASRock z77 Extreme4
Cooling Laptop \\ H100i
Memory 1x1GB + 1X2GB \\ 2x4Gb 1600Mhz CL9 Corsair XMS3
Video Card(s) Mobility Radeon HD4570 512mb \\ Zotac 660Ti OC 2Gb
Storage 250Gb \\ Samsung 840 250Gb + Toshiba DT01ACA300 3Tb
Display(s) 15.6" 1366x768 \\ LG 22EA53VQ
Case Laptop Chassis \\ NZXT Phantom 410 Black/Orange
Power Supply Power Brick \\ Corsair CXM500w
#8
Studying for a maths major here, so I think I have some credibility.

We know that 0.9 cannot be bigger than 1. Fix 0.9 recurring as a sequence, calling it a(n), where a(1) = 0.9, a(2) = 0.99 etc. Now we make this statement: For any positive number x, there exist an N such that N is a natural number (positive integer) and when n>N |1-a(N)|< x . From that statement, its obvious that a(n) tends to 1, therefore 0.99 recurring is 1.

Analysis is a bitchy subject, and unless your job/life/education depends on it, its best avoided. We do silly things like finding the limit of 0/0 (0/0 tends to some random things depending on how you define the top and bottom zero).
 
Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#9
its an interesting point, and quite awkward to explain why 0.99 doesnt = 1.

i think the easiest way to explain it may be rounding error in the apparatus we use ??
not a rounding error

if x = 0.9'
therefore 10x = 9.9'
10x-x=9x = 9.9' - x

therefore 9x = 9
 
Joined
Dec 27, 2007
Messages
8,506 (2.31/day)
Likes
2,072
Location
Kansas City
System Name The Dove Box Rev 2.0
Processor I7 5930k
Motherboard Asus X99
Cooling Custom water loop
Memory 4 x 4GB 3000 MHz DDR4
Video Card(s) 2x MSI 780 Ti's in SLI
Storage 500GB Samsung 850 PCIe SSD, 2x1TB WD Blacks, 1.2TB NAS
Display(s) 27" Asus 144Hz
Case Enermax Fulmo GT
Audio Device(s) ON BOARD FTW
Power Supply Thermaltake Toughpower 850W
Keyboard Logitech G510
Software Win 10 64x
#10
It's all about being accurate as you need to be.

Decimals approximations are great for whole number divisions but when you try to approximate pi with decimals you'll fall short every time. However if you'd like to be accurate simply choose your degree of accuracy and there's a fraction to go with it! 22/7 or 355/113 ... it goes on!
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
9,379 (3.16/day)
Likes
2,101
Location
Home
System Name Asus K50-X5DAB \\ Orange!
Processor Athlon QL-65 2.2Ghz \\ 3570K
Motherboard Laptop \\ ASRock z77 Extreme4
Cooling Laptop \\ H100i
Memory 1x1GB + 1X2GB \\ 2x4Gb 1600Mhz CL9 Corsair XMS3
Video Card(s) Mobility Radeon HD4570 512mb \\ Zotac 660Ti OC 2Gb
Storage 250Gb \\ Samsung 840 250Gb + Toshiba DT01ACA300 3Tb
Display(s) 15.6" 1366x768 \\ LG 22EA53VQ
Case Laptop Chassis \\ NZXT Phantom 410 Black/Orange
Power Supply Power Brick \\ Corsair CXM500w
#11
not a rounding error

if x = 0.9'
therefore 10x = 9.9'
10x-x=9x = 9.9' - x

therefore 9x = 9
10x - x = 9x =/= 9.9' - x
9.9' - x = 9.9' - 0.9' = 9
 
Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#12
It's all about being accurate as you need to be.

Decimals approximations are great for whole number divisions but when you try to approximate pi with decimals you'll fall short every time. However if you'd like to be accurate simply choose your degree of accuracy and there's a fraction to go with it! 22/7 or 355/113 ... it goes on!
my point is

why use decimals if their not good?

i use fractions myself but because there a lot easier
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
9,379 (3.16/day)
Likes
2,101
Location
Home
System Name Asus K50-X5DAB \\ Orange!
Processor Athlon QL-65 2.2Ghz \\ 3570K
Motherboard Laptop \\ ASRock z77 Extreme4
Cooling Laptop \\ H100i
Memory 1x1GB + 1X2GB \\ 2x4Gb 1600Mhz CL9 Corsair XMS3
Video Card(s) Mobility Radeon HD4570 512mb \\ Zotac 660Ti OC 2Gb
Storage 250Gb \\ Samsung 840 250Gb + Toshiba DT01ACA300 3Tb
Display(s) 15.6" 1366x768 \\ LG 22EA53VQ
Case Laptop Chassis \\ NZXT Phantom 410 Black/Orange
Power Supply Power Brick \\ Corsair CXM500w
#13
my point is

why use decimals if their not good?

i use fractions myself but because there a lot easier
Decimal is good, but it can only do so much. Fractions are neat and easy to work with, but they are much less accurate than decimals.

my sig has all the answers you need
Your sig proves the => but not the <= which is what we want. You might as well say W1zzard is either a guy or a girl or both.
 
Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#14
Decimal is good, but it can only do so much. Fractions are neat and easy to work with, but they are much less accurate than decimals.
how are they accurate if the system has errors?

i mean - 1/3 is precisely a 1/3 of the object
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
9,379 (3.16/day)
Likes
2,101
Location
Home
System Name Asus K50-X5DAB \\ Orange!
Processor Athlon QL-65 2.2Ghz \\ 3570K
Motherboard Laptop \\ ASRock z77 Extreme4
Cooling Laptop \\ H100i
Memory 1x1GB + 1X2GB \\ 2x4Gb 1600Mhz CL9 Corsair XMS3
Video Card(s) Mobility Radeon HD4570 512mb \\ Zotac 660Ti OC 2Gb
Storage 250Gb \\ Samsung 840 250Gb + Toshiba DT01ACA300 3Tb
Display(s) 15.6" 1366x768 \\ LG 22EA53VQ
Case Laptop Chassis \\ NZXT Phantom 410 Black/Orange
Power Supply Power Brick \\ Corsair CXM500w
#15

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
14,908 (3.43/day)
Likes
5,425
System Name A dancer in your disco of fire
Processor i3 4130 3.4Ghz
Motherboard MSI B85M-E45
Cooling Cooler Master Hyper 212 Evo
Memory 4 x 4GB Crucial Ballistix Sport 1400Mhz
Video Card(s) Asus GTX 760 DCU2OC 2GB
Storage Crucial BX100 120GB | WD Blue 1TB x 2
Display(s) BenQ GL2450HT
Case AeroCool DS Cube White
Power Supply Cooler Master G550M
Mouse Intellimouse Explorer 3.0
Keyboard Dell SK-3205
Software Windows 10 Pro
#16
how are they accurate if the system has errors?

i mean - 1/3 is precisely a 1/3 of the object
That is not an error. It's an infinite number so you can't express it in decimals.

I don't really get your point btw. Since when is 0.99 recuring = 1? And 1/3 has never been 0.3. At least not in my schools.
 
Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#17
That is not an error. It's an infinite number so you can't express it in decimals.
sounds like a problem with the system if you can't use it for something

i mean you couldn't do one calculation on an pentium processor and that was counted as an error - http://en.wikipedia.org/wiki/Pentium_FDIV_bug

there's one problem with a calculation in decimals - doesn't that mean their broken?
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
9,379 (3.16/day)
Likes
2,101
Location
Home
System Name Asus K50-X5DAB \\ Orange!
Processor Athlon QL-65 2.2Ghz \\ 3570K
Motherboard Laptop \\ ASRock z77 Extreme4
Cooling Laptop \\ H100i
Memory 1x1GB + 1X2GB \\ 2x4Gb 1600Mhz CL9 Corsair XMS3
Video Card(s) Mobility Radeon HD4570 512mb \\ Zotac 660Ti OC 2Gb
Storage 250Gb \\ Samsung 840 250Gb + Toshiba DT01ACA300 3Tb
Display(s) 15.6" 1366x768 \\ LG 22EA53VQ
Case Laptop Chassis \\ NZXT Phantom 410 Black/Orange
Power Supply Power Brick \\ Corsair CXM500w
#18
sounds like a problem with the system if you can't use it for something

i mean you couldn't do one calculation on an pentium processor and that was counted as an error - http://en.wikipedia.org/wiki/Pentium_FDIV_bug

there's one problem with a calculation in decimals - doesn't that mean their broken?
You will need to work with symbolic to ensure no rounding error problems, and x86 does not do its math symbolically. Well, in that sense fractions is better than decimals, contradicting what I said earlier :/
 

Kreij

Senior Monkey Moderator
Joined
Feb 6, 2007
Messages
13,817 (3.45/day)
Likes
5,524
Location
Cheeseland (Wisconsin, USA)
#19
1/3 is not a number, it is a divisional proportion.
All fractions are estimates based on what they are derived from, and when converted to their decimal equivelents are rounded as to be useful.

When you do something 1/2 assed can it be equated to 0.5 assed? Not necessailry. ;)
 

lucas4

New Member
Joined
Feb 25, 2011
Messages
232 (0.09/day)
Likes
31
System Name Xmas Rig - updated :)!
Processor i7 2600K @ stock
Motherboard MSI P67
Cooling ThermoLab Trinity
Memory 4GB DDR3
Video Card(s) 4870
Storage 128GB SSD, 2TB storage
Audio Device(s) Onboard
Power Supply Corsair
Software Windows 7 64-bit
#20
sounds like a problem with the system if you can't use it for something

i mean you couldn't do one calculation on an pentium processor and that was counted as an error - http://en.wikipedia.org/wiki/Pentium_FDIV_bug

there's one problem with a calculation in decimals - doesn't that mean their broken?
i dont think it means they broken.

they are fit for their purpose, and we all know that they cannot be 100% accurate when we have a recurring answer or pi.
this is why we round our answers to a certain number of decimal places which is considered to be an accurate enough margin.

eg, sometimes rounding earlier answers to 4dp if u need a 2dp final answer is perfectly acceptable level of accuracy, whereas rounding to 4dp if we need a 10dp final answer isnt.
we know when to use the appropriate degree of accuracy which doesnt make them broken IMO
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
9,379 (3.16/day)
Likes
2,101
Location
Home
System Name Asus K50-X5DAB \\ Orange!
Processor Athlon QL-65 2.2Ghz \\ 3570K
Motherboard Laptop \\ ASRock z77 Extreme4
Cooling Laptop \\ H100i
Memory 1x1GB + 1X2GB \\ 2x4Gb 1600Mhz CL9 Corsair XMS3
Video Card(s) Mobility Radeon HD4570 512mb \\ Zotac 660Ti OC 2Gb
Storage 250Gb \\ Samsung 840 250Gb + Toshiba DT01ACA300 3Tb
Display(s) 15.6" 1366x768 \\ LG 22EA53VQ
Case Laptop Chassis \\ NZXT Phantom 410 Black/Orange
Power Supply Power Brick \\ Corsair CXM500w
#21
1/3 is not a number, it is a divisional proportion.
All fractions are estimates based on what they are derived from, and when converted to their decimal equivelents are rounded as to be useful.
An engineer's point of view. :nutkick: We can sit here all day arguing who is right, but I have weapons in my arsenal to make me right. ;)
 

lucas4

New Member
Joined
Feb 25, 2011
Messages
232 (0.09/day)
Likes
31
System Name Xmas Rig - updated :)!
Processor i7 2600K @ stock
Motherboard MSI P67
Cooling ThermoLab Trinity
Memory 4GB DDR3
Video Card(s) 4870
Storage 128GB SSD, 2TB storage
Audio Device(s) Onboard
Power Supply Corsair
Software Windows 7 64-bit
#22
An engineer's point of view. :nutkick: We can sit here all day arguing who is right, but I have weapons in my arsenal to make me right. ;)
no need for a gun fight :p
 
Joined
Jul 2, 2010
Messages
4,013 (1.46/day)
Likes
630
Location
UK
System Name PC
Processor AMD FX 8320E @4.3ghz
Motherboard Asrock 970 extreme3
Cooling Phanteks PH-TC12DX, 3 x NZXT FN 140mm, 1x NZXT FV V2 120mm
Memory 8GB Corsair Vengeance Blue 1600mhz
Video Card(s) ASUS R9 290 DCII-OC 4GB
Storage 128GB Kingston V200 SSD 1TB WD Blue, 750GB Maxtor
Display(s) LG 27MB85Z 27" 1440p
Case NZXT Source 340
Power Supply Thermaltake 675w
Mouse Logitech G500S
Keyboard Logitech G510S
Software Windows 8.1 64 bit
#23
1/3 is not a number, it is a divisional proportion.
All fractions are estimates based on what they are derived from, and when converted to their decimal equivelents are rounded as to be useful.

When you do something 1/2 assed can it be equated to 0.5 assed? Not necessailry.
so is there such thing as a number system where things like this are not a problem (say Roman numerals/attic numerals for example)
 

lucas4

New Member
Joined
Feb 25, 2011
Messages
232 (0.09/day)
Likes
31
System Name Xmas Rig - updated :)!
Processor i7 2600K @ stock
Motherboard MSI P67
Cooling ThermoLab Trinity
Memory 4GB DDR3
Video Card(s) 4870
Storage 128GB SSD, 2TB storage
Audio Device(s) Onboard
Power Supply Corsair
Software Windows 7 64-bit
#24
so is there such thing as a number system where things like this are not a problem (say Roman numerals/attic numerals for example)
*swoosh* now the talk goes above my head :roll:
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
14,908 (3.43/day)
Likes
5,425
System Name A dancer in your disco of fire
Processor i3 4130 3.4Ghz
Motherboard MSI B85M-E45
Cooling Cooler Master Hyper 212 Evo
Memory 4 x 4GB Crucial Ballistix Sport 1400Mhz
Video Card(s) Asus GTX 760 DCU2OC 2GB
Storage Crucial BX100 120GB | WD Blue 1TB x 2
Display(s) BenQ GL2450HT
Case AeroCool DS Cube White
Power Supply Cooler Master G550M
Mouse Intellimouse Explorer 3.0
Keyboard Dell SK-3205
Software Windows 10 Pro
#25
IMO numbers and math is above such worldly things as usefullness. Just because we can't pin them down doesn't mean they're not useful. Think about pi.