Pelles C forum

Pelles C => General discussions => Topic started by: happilymambo on February 16, 2015, 03:03:33 AM

Title: Long Double variables in 64 bit C, and User Manuals available?
Post by: happilymambo on February 16, 2015, 03:03:33 AM
I'm wondering, before I download Pelles C, how many significant digits are contained in a 64 bit long double variable. I've been using a 32 bit version of ANSI C, and I can get 18 or 19 significant digits in my answers if I use long doubles -- can I expect to get about twice as many significant digits if I download and use Pelles C? Also, are there any user manuals or other help available for Pelles C, and if so, are they available in English? Thanks in advance for any answers.
Title: Re: Long Double variables in 64 bit C, and User Manuals available?
Post by: frankie on February 16, 2015, 10:33:40 AM
floats, doubles and long doubles have the same precision for 32 and 64 bits systems because their dimensions are handled by the FPU.
FPU executes all calculations with 80 bits, then the result is converted to the required variablle.
Title: Re: Long Double variables in 64 bit C, and User Manuals available?
Post by: czerny on February 16, 2015, 01:41:49 PM
Pelle has answerd this concerning C99 standard here (http://forum.pellesc.de/index.php?topic=2119.msg7857#msg7857). But you can do this at our wish list (http://forum.pellesc.de/index.php?board=4.0).

An other interesting point to this is this (http://forum.pellesc.de/index.php?topic=4343.msg16144#msg16144) older discussion.