Thread: Replace double with long double in all my code.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    31

    Question Replace double with long double in all my code.

    Hello,

    I have a quite a lot of code, 30 files or so, most of which is mathematical number crunching stuff. All the floating point number are defined as the double data-type. Is there a quick and easy way to replace all the double types with long double types; maybe using a pre-compiler command? The reason being, I would like to run my application with a higher level of precision.

    Any ideas on that?

    Cheers,

    Dan.
    Last edited by boyfarrell; 04-30-2007 at 03:25 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. newbie needs help with code
    By compudude86 in forum C Programming
    Replies: 6
    Last Post: 07-23-2006, 08:54 PM
  3. converting double to long int
    By gunshipolitico in forum C++ Programming
    Replies: 5
    Last Post: 11-07-2005, 10:26 AM
  4. How to display 23 bytes long double answer in C?
    By CLIE_ZETA in forum C Programming
    Replies: 3
    Last Post: 11-18-2001, 12:11 PM
  5. Hi, could someone help me with arrays?
    By goodn in forum C Programming
    Replies: 20
    Last Post: 10-18-2001, 09:48 AM