Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


floatingwoods

Member Since 09 Jun 2008
Offline Last Active Jun 16 2015 02:27 PM

Posts I've Made

In Topic: Switching from float to double (and vice-versa) at compile time

16 June 2015 - 12:34 PM

Great, thanks to you too!!


In Topic: Switching from float to double (and vice-versa) at compile time

16 June 2015 - 10:16 AM

Excellent, thanks a lot!


In Topic: Switching from float to double (and vice-versa) at compile time

16 June 2015 - 06:11 AM

Thanks for the replies.

 

I completely agree that I should either use float, or double. The thing is only, since the application is very large and that almost all floats need to be converted into doubles, the process will take several weeks. And in the mean time, it is good to be able to continue working with the application (and testing other things) with floats (as until now). Only when the whole project was rewritten (refactored) will I hard-code all 'reals' as doubles (basically replace all occurences of 'real' with 'double', and remove all code parts where 'DOUBLE' is not defined. Then, of course, the 'f' will not be needed anymore.

 

I was thinking about a temporary macro that would put the 'f' if 'DOUBLE' is not defined, and leave it away, if 'DOUBLE' is defined. But I can't think of such macro in an elegant way.


In Topic: How to check application version with HTTP GET?

17 March 2015 - 05:04 PM

Thanks to all the replies! I guess I will go with libcurl, that looks the easier option.


In Topic: fork issue

02 March 2015 - 07:39 AM

Thanks a lot for the detailed explanation!

I'll try my luck with your suggestions.


PARTNERS