C precision of double: compiler dependent?

Posted by yCalleecharan on Stack Overflow See other posts from Stack Overflow or by yCalleecharan
Published on 2010-04-05T13:01:40Z Indexed on 2010/04/05 13:03 UTC
Read the original article Hit count: 320

Filed under:
|
|

Hi,on my 32-bit machine (with an Intel T7700 duo core), I have 15 precision digits for both double and long double types for the C language. I compared the parameters LDBL_DIG for long doubles and DBL_DIG for doubles and they are both 15. I got these answers using MVS2008. I was wondering if these results can be compiler dependent or do they just depend on my processor?

Thanks a lot...

© Stack Overflow or respective owner

Related posts about c

    Related posts about precision