Question:
Do Computer programming languages assign values to Infinity like 9999999?
Nucleus
2013-02-16 08:33:01 UTC
give examples
Five answers:
I Don't Eat Vodka
2013-02-17 10:54:15 UTC
There are a few special values in floating point standards. A lot are nAn (not a number).
deonejuan
2013-02-16 18:10:41 UTC
In math infinity == undefined and so the same axiom holds true in computer science. Infinity is a special concept that says there are other answers for any given problem, not that the wrong assumption is being utilized.
Banned
2013-02-16 16:35:39 UTC
The largest number that can be stored in an 32 bit integer is 2,147,483,647

A much larger value can be stored in long values



There is no such thing as infinity computer storage

1512,235,234,213,123 terabytes of data is still 0% of infinity, your computer would implode into a blackhole if it could store infinite storage. (Not really) but it probably doesn't work how you think
?
2013-02-16 16:56:54 UTC
No, the area that values are stored in have a limit and infinity would simply be the maximum allowed value.



So if the maximum value allowed is 1 million, infinity would equal 1 million.

If the maximum value allowed is 1 billion, infinity would equal 1 billion.
?
2013-02-16 16:47:45 UTC
Yep infinity is a special number in floating point

it is used in

IEEE Standard 754Floating Point Numbers

look here:



http://steve.hollasch.net/cgindex/coding/ieeefloat.html


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...