A
asdf
I want to set the computation precision to quadruple precision, how can
I do it in C++ coding?
Thanks all.
I do it in C++ coding?
Thanks all.
asdf said:I want to set the computation precision to quadruple precision, how
can I do it in C++ coding?
asdf said:"long double" corresponds to double precision, right?
I want to use quadruple precision instead.
Thanks.
Paulo said:You're asking for too much then. Check GMP mpf_t.
asdf said:"long double" corresponds to double precision, right?
I want to use quadruple precision instead.
No I wouldn't think so,
float - sinlge precision
double - double precision (surprisingly!!!)
long double - greater than double precision
Jerry said:Not really. More accurately, long double is "greater than or equal to
double precision" -- there's no requirement that its precision is
actually greater, and on some widely used implementations (e.g. VC++
2.0 and above) the precision of double and long double is the same.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.