answersLogoWhite

0


Best Answer

no you cannot increase the precision of double itself in C

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you increase the precision of the double in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is maximum length of float in c?

Floating point numbers are always stored according to the underlying architecture. The programming language is immaterial, it must use the same representations as the hardware itself, or at least provide an abstraction of it. C does not provide any abstractions for built-in data types. Most modern computers use the standard IEEE 754 representation, which caters for single-precision (equivalent to float in C), double-precision (double) and extended-precision (long double).


How do you write a floating point variable in c?

You declare a floating point variable using the float or double keyword for a single- or double-precision floating point variable, respectively:float a;double b;You reference a floating-point variable just like any other scalar variable by using the variable's name in a compatible expression, e.g.a += 2;b /= a;Floating point literals use a period for the decimal point, no "thousands separator," and use the letter 'e' to denote a power of ten, e.g.a = 0.123;b = 123e-3;Both a and b now have the same value, 123 times 10 to the power of -3 (which equals 0.123).


What are the types of data type?

Character or small integerShort IntegerIntegerLong integerBooleanFloating point numbersDouble precision floating point numberLong double precision floating point numberWide characterTo get a better idea on C++ data types, see related links below.


What is cdbl?

I believe it is a way to convert data in Classic ASP to double precision.


Which programming language is best for creating accounting software?

Visual Basic for applications

Related questions

Difference between single precision and double precision?

Single Precision, called "float" in the 'C' language family, and "real" or "real*4" in Fortan. This is a binary format that occupies 32 bits (4 bytes) and its significand has a precision of 24 bits (about 7 decimal digits). Double Precision called "double" in the C language family, and "double precision" or "real*8" in Fortran. This is a binary format that occupies 64 bits (8 bytes) and its significand has a precision of 53 bits (about 16 decimal digits). Regards, Prabhat Mishra


What is maximum length of float in c?

Floating point numbers are always stored according to the underlying architecture. The programming language is immaterial, it must use the same representations as the hardware itself, or at least provide an abstraction of it. C does not provide any abstractions for built-in data types. Most modern computers use the standard IEEE 754 representation, which caters for single-precision (equivalent to float in C), double-precision (double) and extended-precision (long double).


What is another word for float in c plus plus?

double, but double is nearly twice the precision of float, so its not really the same thing.


What has the author C C Wei written?

C. C. Wei has written: 'Precision bidding in bridge' -- subject(s): Contract bridge 'Simplified Precision Bridge'


How do you write a floating point variable in c?

You declare a floating point variable using the float or double keyword for a single- or double-precision floating point variable, respectively:float a;double b;You reference a floating-point variable just like any other scalar variable by using the variable's name in a compatible expression, e.g.a += 2;b /= a;Floating point literals use a period for the decimal point, no "thousands separator," and use the letter 'e' to denote a power of ten, e.g.a = 0.123;b = 123e-3;Both a and b now have the same value, 123 times 10 to the power of -3 (which equals 0.123).


What is the valid floating in c plus plus?

From the C++ standard: "There are three floating point types: float, double, and long double. The type double provides at least as much precision as float, and the type long double provides at least as much precision as double. The set of values of the type float is a subset of the set of values of the type double; the set of values of the type double is a subset of the set of values of the type long double. The value representation of floating-point types is implementation-defined." C++ does not impose any limits upon floating point values because, like all fundamental types, floats are imported from the C standard. However, you can determine those limits at compile time by querying the std::numeric_limits class template from the <limits> header.


When precision increases does uncertainty increase or decrease?

I would assume that with am increase in precision there would be an increase in accuracy and less variables. Therefore I would say that there would be a decrease in uncertainty. The more attention to detail the less chance for mistakes.


What are the types of data type?

Character or small integerShort IntegerIntegerLong integerBooleanFloating point numbersDouble precision floating point numberLong double precision floating point numberWide characterTo get a better idea on C++ data types, see related links below.


Method of storing floating numbers in c plus plus in memory?

The C++ standard defines two built-in types for floating point numbers: the float and the double. The float (or single precision number) is 32 bits long while a double (or double precision number) is 64 bits long. The bits can be broken down into three parts: the sign (positive or negative); a biased exponent; and a fraction (the mantissa). See the related links, below, for more information.


What do you understand by precision in c?

For the most part, how many bits in a floating point number. More bits = greater precision.


Why precision instruments are stored at 20 C temperature?

aa


What can help to increase study precision?

Increasing your sample size might help