3.0.1 release?
Michael Goffioul
michael.goffioul at gmail.com
Tue Apr 8 08:06:11 CDT 2008
On Tue, Apr 8, 2008 at 3:01 PM, David Bateman
<David.Bateman at motorola.com> wrote:
> I just looked at this issue a little bit and the failing part of the
> code is
>
> Bmax = bitmax;
> A = bitshift(Bmax,-2);
> bitxor(cast(A,'uint64'),cast(Bmax,'uint64'))
>
> Bmax is '2^53 - 1' and A is '2^51 - 1" and so bitxor of the above should
> be '2^52 + 2^51' and is under linux. Under windows this appears to
> return '2^53 + 2^51' which is of course a bug.. The equivalent in C++
> would be
>
> 0x000FFFFFFFFFFFFFUL^ x0003FFFFFFFFFFFFUL
>
> so what does this return when compiled with MSVC in C++ mode? If its not
> '2^52 + 2^51' its time to file a bug report against MSVC..
Could you provide some code that I can compile and run out-of-the-box?
I'm not sure I fully understand the problem...
Michael.
More information about the Octave-maintainers
mailing list