help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 3.0.1 available for ftp


From: Tatsuro MATSUOKA
Subject: Re: Octave 3.0.1 available for ftp
Date: Tue, 22 Apr 2008 18:04:53 +0900 (JST)

Hello Michael

Please see the mail with fixed scaled font.

=========================
> >  3.   d:\usr\Tatsu\OctSrc\octave-3.0.1\scripts/general\bitcmp.m  PASS   
> > 14/15   FAIL 1
> >
> >   ***** assert(bitcmp(A,Amax),bitor(bitshift(1,Amax-1),bitshift(1,Amax-2)));
> >  !!!!! test failed
> >  error: assert (bitcmp (A, Amax),bitor (bitshift (1, Amax - 1), bitshift 
> > (1, Amax - 2)))
> expected
> >  6.7554e+015
> >  but got
> >  1.1259e+016
> >  values do not match
> >  shared variables {
> >   Amax =  53
> >   Bmax = 9.0072e+015
> >   A = 2.2518e+015
> >  }
> >  6.7554e+015
> >
> >  octave:1> 1.1259e+016/6.7554e+015
> >  ans =  1.6667
> >  ????
> 
> This should have been fixed. Can you check whether HAVE_ROUND is
> defined in your config.h?
=====================================================

488: /* Define to 1 if you have the `round' function. */
489: #define HAVE_ROUND 1

It was defined.





===========================================
> >  4.   test_string.m .......................................... PASS  
> > 130/131  FAIL 1
> >  >>>>> processing test_string
> >   ***** test
> >   charset = setstr (0:127);
> >
> >   result = zeros (1, 128);
> >
> >   result (33:127) = 1;
> >   if (ispc () && ! isunix ())
> >    result(10) = 1;
> >   endif
> >
> >   assert(all (isprint (charset) == result));
> >  !!!!! test failed
> >  error: assert (all (isprint (charset) == result)) failed
> 
> Can you run the test manually and see where's the difference
> between charset and result? What does "ispc() && !isunix()"
> return with MinGW?


octave.exe:1>  charset = setstr (0:127);
warning: setstr is obsolete and will be removed from a future version of 
Octave; please use char
instead
octave.exe:2>
octave.exe:2>  result = zeros (1, 128);
octave.exe:3>
octave.exe:3>  result (33:127) = 1;
octave.exe:4>  if (ispc () && ! isunix ())
>    result(10) = 1;
>  endif
octave.exe:5> isprint (charset)
ans =

 Columns 1 through 20:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 21 through 40:

   0   0   0   0   0   0   0   0   0   0   0   0   1   1   1   1   1   1   1   1

 Columns 41 through 60:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 61 through 80:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 81 through 100:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 101 through 120:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 121 through 128:

   1   1   1   1   1   1   1   0

octave.exe:6> result
result =

 Columns 1 through 20:

   0   0   0   0   0   0   0   0   0   1   0   0   0   0   0   0   0   0   0   0
                                       ~
 Columns 21 through 40:

   0   0   0   0   0   0   0   0   0   0   0   0   1   1   1   1   1   1   1   1

 Columns 41 through 60:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 61 through 80:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 81 through 100:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 101 through 120:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 121 through 128:

   1   1   1   1   1   1   1   0

octave.exe:7> result = zeros (1, 128)
result =

 Columns 1 through 20:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 21 through 40:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 41 through 60:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 61 through 80:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 81 through 100:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 101 through 120:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 121 through 128:

   0   0   0   0   0   0   0   0

octave.exe:8> result (33:127) = 1;
octave.exe:9> result
result =

 Columns 1 through 20:

   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

 Columns 21 through 40:

   0   0   0   0   0   0   0   0   0   0   0   0   1   1   1   1   1   1   1   1

 Columns 41 through 60:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 61 through 80:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 81 through 100:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 101 through 120:

   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   1

 Columns 121 through 128:

   1   1   1   1   1   1   1   0

octave.exe:10>

==============================================
Mmmmmmmmmmmmmmmmmmmmmm!!!! That's mysterious?????

I have to check why test_io.m hangs up.
This will be done later.

Regards

Tatsuro





--------------------------------------
GANBARE! NIPPON! Win your ticket to Olympic Games 2008.
http://pr.mail.yahoo.co.jp/ganbare-nippon/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]