Subj : Re: dividing NaN To : netscape.public.mozilla.jseng From : Jun Kim Date : Fri Nov 26 2004 04:17 am Thanks~~ Thorsten Kortmann wrote in news:9084oc.rb1.ln@www.fanatic-system.de: > Jun Kim schrieb: > > Hi, sorry for my english! > >> #if defined(XP_WIN) || defined(XP_OS2) >> /* XXX MSVC miscompiles such that (NaN == 0) */ > > On non windows platforms this is compiled. > On windows platforms this part is miscompiled > by MSVC = [M]icro[S]oft [V]isual[C] > >> #endif > > To exclude this on non windows platforms try this: > > #define XP_WIN > #if defined(XP_WIN) || defined(XP_OS2) > ... > #endif > #undef XP_WIN > > or: > > #if defined(XP_WIN) || defined(XP_OS2) || defined(MY_SYSTEM) > ... > #endif > > Gru? > Thorsten > > .