Is 1 = 0.9999......

Page 190 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

MovingTarget

Diamond Member
Jun 22, 2003
9,002
115
106
Originally posted by: bleeb
That's just it though, you simply add the 1 - 0.9999.... = left over stuff.... that you can add to 0.9999... = 1.

Therefore 0.9999 != 1.

BOO to dxkj... that's unsportsman like and retarded. MOD's I believe that deserves a BAN.

Well, although this seems like a good arguement, the other side of the debate has made it as well. to say .99999+ something or - something = something else, you are presupposing your conclusion to prove itself. 1-.99999 =0 only if .99999=1. but does it really? Is there "stuff left over" or not? I don't think people can say that because .99999=1 is unknown. it has to be proven using other methods.

btw. I second the BOO to dxkj and all those that continue to keep posting like they do. Some of us find this interesting...
 

bleeb

Lifer
Feb 3, 2000
10,868
0
0
Originally posted by: MovingTarget
Originally posted by: bleeb
That's just it though, you simply add the 1 - 0.9999.... = left over stuff.... that you can add to 0.9999... = 1.

Therefore 0.9999 != 1.

BOO to dxkj... that's unsportsman like and retarded. MOD's I believe that deserves a BAN.

Well, although this seems like a good arguement, the other side of the debate has made it as well. to say .99999+ something or - something = something else, you are presupposing your conclusion to prove itself. 1-.99999 =0 only if .99999=1. but does it really? Is there "stuff left over" or not? I don't think people can say that because .99999=1 is unknown. it has to be proven using other methods.

btw. I second the BOO to dxkj and all those that continue to keep posting like they do. Some of us find this interesting...

I believe the entire argument is flawed due to the fact that we are working with theory (limits and boundaries) and an absolute number 1. Sort of like comparing apples and oranges, if you will.
 

MovingTarget

Diamond Member
Jun 22, 2003
9,002
115
106
Originally posted by: bleeb
Originally posted by: MovingTarget
Originally posted by: bleeb
That's just it though, you simply add the 1 - 0.9999.... = left over stuff.... that you can add to 0.9999... = 1.

Therefore 0.9999 != 1.

BOO to dxkj... that's unsportsman like and retarded. MOD's I believe that deserves a BAN.

Well, although this seems like a good arguement, the other side of the debate has made it as well. to say .99999+ something or - something = something else, you are presupposing your conclusion to prove itself. 1-.99999 =0 only if .99999=1. but does it really? Is there "stuff left over" or not? I don't think people can say that because .99999=1 is unknown. it has to be proven using other methods.

btw. I second the BOO to dxkj and all those that continue to keep posting like they do. Some of us find this interesting...

I believe the entire argument is flawed due to the fact that we are working with theory (limits and boundaries) and an absolute number 1. Sort of like comparing apples and oranges, if you will.

Good point, bleeb. I'm no mathematician, but this has to be provable some other way than what I state. We have to work within mathematical theory to prove a lot of things in many different mathematical fields. We can't discount theory completely. I was just saying a lot of what people had said I didn't think was adequate because they weren't using theory...just making suppositions without anything to back it up.
 

Red Squirrel

No Lifer
May 24, 2003
68,473
12,619
126
www.anyf.ca
Oh this again. lol. Comes up every now and then.

My philosophy is that, from a math point of view they're not the same, but no matter where we apply it in our world, it is the same, because any system will round it off and it will become 1. Even if you do round off to the last 3 digits or what not, 0.8888... should be 0.889 so if it's already 0.999 then.... 1.

That still leaves the answer to: It depends.
 
Oct 20, 2005
10,978
44
91
Oh this again. lol. Comes up every now and then.

My philosophy is that, from a math point of view they're not the same, but no matter where we apply it in our world, it is the same, because any system will round it off and it will become 1. Even if you do round off to the last 3 digits or what not, 0.8888... should be 0.889 so if it's already 0.999 then.... 1.

That still leaves the answer to: It depends.

In other words, you don't understand math.
 

Red Squirrel

No Lifer
May 24, 2003
68,473
12,619
126
www.anyf.ca
In other words, you don't understand math.



I never said I was good at math. So you're saying the php round function is wrong then? That's what I used to test my theory.

Code:
<?php
$value = 0.99999999999999999;

echo("value:".round($value,2));

?>

Output:

Code:
Value: 1

And the c++ one too.

Code:
ryan@falcon:~/Desktop$ cat test.cpp
#include <iostream>
#include <math.h>

using namespace std;

int main()
{
	float value = 0.99999999999999999;
	
	
	float nearest = floorf(value * 100 + 0.5) / 100;  //found formula online

	cout<<endl<<"value:"<<nearest<<endl;		

	return 0;
}ryan@falcon:~/Desktop$ g++ -o test test.cpp
ryan@falcon:~/Desktop$ ./test

value:1
ryan@falcon:~/Desktop$


I was specifically posting about what the value is equal to when it is applied in a system, as it will always be rounded as no system can possibly process infinite decimal points, or anything that is infinite for that matter.
 
Oct 20, 2005
10,978
44
91
I was specifically posting about what the value is equal to when it is applied in a system, as it will always be rounded as no system can possibly process infinite decimal points, or anything that is infinite for that matter.

Oh this again. lol. Comes up every now and then.

My philosophy is that, from a math point of view they're not the same, but no matter where we apply it in our world, it is the same, because any system will round it off and it will become 1. Even if you do round off to the last 3 digits or what not, 0.8888... should be 0.889 so if it's already 0.999 then.... 1.

That still leaves the answer to: It depends.

From a math point of vew, they are the same.
 

DrPizza

Administrator Elite Member Goat Whisperer
Mar 5, 2001
49,601
166
111
www.slatebrookfarm.com


I never said I was good at math. So you're saying the php round function is wrong then? That's what I used to test my theory.

Code:
<?php
$value = 0.99999999999999999;

echo("value:".round($value,2));

?>
Output:

Code:
Value: 1
And the c++ one too.

Code:
ryan@falcon:~/Desktop$ cat test.cpp
#include <iostream>
#include <math.h>

using namespace std;

int main()
{
    float value = 0.99999999999999999;
    
    
    float nearest = floorf(value * 100 + 0.5) / 100;  //found formula online

    cout<<endl<<"value:"<<nearest<<endl;        

    return 0;
}ryan@falcon:~/Desktop$ g++ -o test test.cpp
ryan@falcon:~/Desktop$ ./test

value:1
ryan@falcon:~/Desktop$
I was specifically posting about what the value is equal to when it is applied in a system, as it will always be rounded as no system can possibly process infinite decimal points, or anything that is infinite for that matter.

At least you admitted you're not good in math. How are you qualified about what you can and can't do in programming in regard to mathematics? Mathematicians can manipulate values that expressed in a decimal representation would have an infinite number of digits. Let's say sqrt(3) and sqrt (12). Both of these numbers, have an infinitely long decimal representation. However, they can be manipulated symbolically.

Your only argument might be that I can't enter an infinite number of digits into a computer. Using standard notation, yes I can. A program can easily be written to understand the input ".333333..." or ".27272727..." An algorithm could be written to manipulate these symbolically.

Likewise, "sqrt(3)" can also be manipulated symbolically. Hell, you used .888.... above as an example. I'm incredibly rusty at programming, yet I'm certain that I could write a program to convert that representation of an infinitely repeating string of decimals into two numbers, a and b, such that a=8 and b=9, and a/b represents the exact value of your infinite number of decimal places. Then, I can multiply by 9, by dividing 9 by 9, then multiplying by 8. Of course, technically we'd have to get into a discussion about algorithms for how 9 divided by 9 is carried out on a computer.
 
Last edited:

Red Squirrel

No Lifer
May 24, 2003
68,473
12,619
126
www.anyf.ca
Actually if there is a calculation that gives 0.9999999999 as the answer, you could probably input that calculation "as" a variable then it will be calculated in place. Though internally the computer will still round I'd imagine.

But upon further reading it does seem that the general consensus is that even mathematically it is equal to 1. I always figured it was more like an asymptote where the line gets closer and closer and closer but never actually touches.
 
Oct 20, 2005
10,978
44
91
Awww crap... I got baited into this old thread... I had a heated argument with a few people about this awhile ago...

my explaination is that based on deductive reasoning of only a yes or no answer (true or false) 1.0 = 0.99999999... is false...

Depending on how often you visit ATOT, you should be able to tell that a 4000+ thread that you didn't see recently is probably a thread that was started awhile back. I visit daily, so if I all of a sudden see a thread that's a few hundred posts and I hadn't seen it the day before, chances are it was an old thread bumped.

Oh, and your "deductive reasoning" is wrong. The correct answer is True, 1 = .999...
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |