long-double
Output precision is higher than double precision
I am printing some data from a C++ program to be processed/visualized by ParaView, but I am having a problem with floating point numbers. Paraview s开发者_开发知识库upports both Float32 and Float64 da[详细]
2023-04-09 08:18 分类:问答Which function should be use to converting string to long double?
No开发者_开发问答te that in general, double is different from long double. strtod converts string to double, but which function should be use to converting string to long double?In C++03, use boost::[详细]
2023-04-04 19:50 分类:问答Converting long double in .NET
I have to convert some C code (that ran in a Linux machine) to .Net, and found some operations with long double. They are not special operations, just some multiplications and divisions that end with[详细]
2023-03-26 16:29 分类:问答Has "long double" a single word name?
Many new C++ data t开发者_StackOverflow社区ype names have a single word name, for example: int16_t instead of signed short int[详细]
2023-03-26 16:17 分类:问答Crazy behaviour during execution
I have been doing some inline-asm with gcc.Everything is ALMOST working, up to some behaviour that is just baffling me.I am evaluating a rational polynomial, but need to use 80-bit constants.The gener[详细]
2023-03-04 00:37 分类:问答Objective C: Creating Long Double uses Decimal Method
How do I create the following method? I have tried to use modf(n, 1) or modf(n, 2) but those both return an error of \"Passing argument 2 of modf makes pointer from integer without 开发者_Go百科a ca[详细]
2023-02-01 16:03 分类:问答Convert extended precision float (80-bit) to double (64-bit) in MSVC
What is the most portable and \"right\" way to do conversion from extended precision float 开发者_如何学编程(80-bit value, also known as long double in some compilers) to double (64-bit) in MSVC win32[详细]
2023-01-02 06:35 分类:问答x86-64 long double precision
What is the actual precision of long double on Intel 64-b开发者_StackOverflow社区it platforms? is it 80 bits padded to 128 or actual 128 bit?[详细]
2022-12-29 13:28 分类:问答Actual long double precision does not agree with std::numeric_limits
Working on Mac OS X 10.6.2, Intel, with i686-apple-darwin10-g++-4.2.1, 开发者_如何学Pythonand compiling with the -arch x86_64 flag, I just noticed that while...[详细]
2022-12-26 00:39 分类:问答Long Double in C
I\'ve been reading the C Primer Plus book and got to this example #include <stdio.h> int main(void)[详细]
2022-12-12 09:02 分类:问答