Top "Double" questions

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

How To Represent 0.1 In Floating Point Arithmetic And Decimal

I am trying to understand floating point arithmetic better and have seen a few links to 'What Every Computer Scientist …

c# floating-point double decimal bit-representation
Always Round UP a value in C#

I want to roundup value according to the 3rd decimal point. It should always take the UP value and round. …

c# double decimal roundup
C# double.TryParse with InvariantCulture returns unexpected result

I'm trying to unit test a getprice method using NUnit. I am stuck with parsing the rawprice into double. My …

c# .net parsing double culture
Are all integer values perfectly represented as doubles?

My question is whether all integer values are guaranteed to have a perfect double representation. Consider the following code sample …

c++ double standards precision ieee-754
Getting the fractional part of a double value in integer without losing precision

i want to convert the fractional part of a double value with precision upto 4 digits into integer. but when i …

c double type-conversion precision floating
javascript:window.open(window.clickTag) opens double tabs in Firefox

I am using clickTags in my code for tracking. This is my setup. <script type="text/javascript"> var …

javascript firefox tabs double clicktag
Unsigned long long arithmetic into double

I'm making a function that takes in 3 unsigned long longs, and applies the law of cosines to find out if …

c++ geometry double trigonometry unsigned-long-long-int
type mismatch: can't convert from double to int java

public static void main(String[] args) { try{ BufferedReader br=new BufferedReader(new FileReader("file.txt")); String[] pole=br.readLine().split(" "); …

java types int double type-mismatch
Using Double.POSITIVE_INFINITY in Java to find minimum value

Simple question: will the following code work for finding the minimum value in an array of doubles (assume at least …

java double min minimum infinity