U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Core » isnan [BUG?] fix for Core OSX11
isnan [BUG?] fix for Core OSX11 [message #33759] Sun, 11 September 2011 03:35 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
Sorry, on mac OS X in Core Defs.h (around line 250) with this fix:

#ifdef PLATFORM_WIN32
inline bool IsNaN(double d)        { return _isnan(d); }
#elif PLATFORM_OSX11
inline bool IsNaN(double d)        { return std::isnan(d); }
#else
inline bool IsNaN(double d)        { return isnan(d); }
#endif


upp compiles. Otherwise not. Do you think this fix is ok? Or should someone dig deeper as in here: http://stackoverflow.com/questions/2249110/how-do-i-make-a-p ortable-isnan-isinf-function?
 
Read Message
Read Message
Previous Topic: Retriving data in record containing ""
Next Topic: read/write to pipe /dev/rtp..?
Goto Forum:
  


Current Time: Sun Apr 26 14:58:22 GMT+2 2026

Total time taken to generate the page: 0.00474 seconds