Top "Double" questions

Double is a primitive data type used to store fractional numbers that holds a double-precision floating-point (often 64 bits).

Divide by zero and no error?

Just threw together a simple test, not for any particular reason other than I like to try to have tests …

c# double divide-by-zero
what do the square brackets mean? in Java

What does it mean when their are square brackets in front of double. For example double[] and is there any …

java methods double brackets
converting double values for making a Point type

I want to draw a curve (a diode curve) in a picturebox using imagefrom bitmap. I have a problem now …

c# double point
Fastest way to flip the sign of a double / float in C

What is the fastest way to flip the sign of a double (or float) in C? I thought, that accessing …

c floating-point double bit-manipulation sign
How to read a .pgm image file in a 2D double array in C

The question is quite simple: How to read a .pgm image file into a 2D double array in C. I …

c arrays 2d double pgm
Java signed zero and boxing

Lately I've written a project in Java and noticed a very strange feature with double/Double implementation. The double type …

java double boxing
Polygons with Double Coordinates

I have some questions about Polygons with points of Double type... What I have to do, is given points, create …

java double polygon
Convert string to double or float c#

I need to convert a string to double. Or float, whatever suits best for this type of conversion. The string …

c# double string-conversion
Problem with string conversion to number ( strtod )

I am using strtod( ) function to extract an environment variable as a string, and then changing it to double using …

c linux string double strtod
Converting Double to NSNumber in Swift Loses Accuracy

For some reason, certain Doubles in my Swift app are giving me trouble when converting to NSNumber, while some are …

ios swift double nsnumber