|
From: Tatsuro M. <tma...@ya...> - 2010-10-02 07:43:19
|
Hello The test shown in the previous mail was done by cvs source at 2010-09-30. Regards Tatsuro --- Tatsuro MATSUOKA wrote: > Hello > > --- Tatsuro MATSUOKA wrote: > > I have searched the information of the DJGPP > > > > For version 2.04 > > http://www.delorie.com/djgpp/doc/kb/kb_6.html > > > > ************************ > > The macro NAN was added. > > The functions strtod, strtof, strtold and _strtold now understand "Inf", "Infinity", "NaN", > > "NaN()", > > "NaN(hex-number)" and any variations of case in the input string. > > > > New functions snprintf and vsnprintf added. > > *********************** > > > > However, version 2.04 is the beta release. > > (Last update is 30-Nov-2003 for 2.04). > > > > Application is still updated on the 2.03. > > (The gcc has been updated to 4.4.4! as Hans suggested.) > > > > Thinking to the above, it is better to apply you patch for DJGPP. > > > > Please wait for a while after I will carry out the test the patch > > With the two patches, > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > --- config.dj2.old 2010-09-29 10:21:42.000000000 -0700 > +++ config.dj2 2010-09-29 10:22:06.000000000 -0700 > @@ -142,7 +142,7 @@ > #endif > /* Define to 1 if you have the `isnan' function. */ > -/* #undef HAVE_ISNAN */ > +#define HAVE_ISNAN > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > --- gnuplot-cvs/src/stdfn.c 2010-07-30 12:11:40.000000000 -0700 > +++ gnuplot-djgpp/src/stdfn.c 2010-09-30 18:12:55.000000000 -0700 > @@ -458,7 +458,7 @@ > double > not_a_number(void) > { > -#ifdef __MSC__ > +#if defined(__MSC__) || defined(DJGPP) || defined(__DJGPP__) > unsigned long lnan[2]={0xffffffff, 0x7fffffff}; > return *( double* )lnan; > #else > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > NaN issue for DJGPP seems to be solved. > > > Terminal type set to 'svga' > gnuplot> pr NaN > NaN > > gnuplot> cd '../demo' > gnuplot> load 'candlesticks.dem' > Hit return to continue > Hit return to continue > Hit return to continue > Hit return to continue > Hit return to continue > Hit return to continue > > candlesticks.dem went well. > > Thanks!! > > Regards > > Tatsuro > > -------------------------------------- > Get the new Internet Explorer 8 optimized for Yahoo! JAPAN > http://pr.mail.yahoo.co.jp/ie8/ > -------------------------------------- Get the new Internet Explorer 8 optimized for Yahoo! JAPAN http://pr.mail.yahoo.co.jp/ie8/ |