Top "Infinity" questions

Infinity is a specific floating point value that is always larger than any other floating point value.

Java: Printing out an object for debugging

I would like an easy way to print out a java object, or to say it another way, serialize an …

java json tostring infinity divide-by-zero
Select where number equals Infinity

In SQL, how to select the rows of a table where a column (datatype : number) equals Infinity on Oracle 10g ? …

sql oracle numbers infinity
In Haskell, is there infinity :: Num a => a?

I'm trying to implement a data structure where if I had the use of infinity for numerical comparison purposes, it …

haskell infinity
PHP: How to encode infinity or NaN numbers to JSON?

Apparently, infinity and NaN are not a part of JSON specification, so this PHP code: $numbers = array(); $numbers ['positive_infinity'] = +…

php json nan infinity
Infinity in Fortran

What is the safest way to set a variable to +Infinity in Fortran? At the moment I am using: program …

fortran infinity
Infinity is some number in javascript?

alert(1/0) alerts Infinity and alert(1/-0) alerts -Infinity. alert(-1/-0) alerts Infinity, as I could expect when doing some …

javascript infinity
INFINITY in Swift Lang

According to Apple's documentation, Swift doesn't support preprocessor directives. In C/Objective-c the "INFINITY" definition is very useful for some …

swift infinity
Why is infinity = 0x3f3f3f3f?

In some situations, one generally uses a large enough integer value to represent infinity. I usually use the largest representable …

c infinity
How do I create or test for NaN or infinity in Perl?

How do I create or test for NaN or infinite values in Perl?

perl nan infinity