0

helloo;
i challenge all of the world programmers ;my question is;
"Write a program that print all of the real number between 0 and 1";
:)
:D
:P
chaleenge

6
Contributors
8
Replies
9
Views
7 Years
Discussion Span
Last Post by jwenting
0

Congratulations on (re)discovering the Cantor set. Can you supply a formal proof?

Edited by jonsca: n/a

0

It's theoretically impossible for a computer with limited bit depth and memory to represent ALL real numbers in any specific interval.
Ergo, it is theoretically impossible to complete this challenge successfully.

0

Perhaps my level of sarcasm wasn't adequately represented in my reply. :)

you really think OP knows what a Cantor set is?

0

Well .. are there any real numbers between 0 and 1?I thought there were only rational numbers.

0

Writing out all the representable floats would be do-able (with a bit of outside the box trickery).

0

Well .. are there any real numbers between 0 and 1?I thought there were only rational numbers.

Effectively the same thing when talking computers.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.