3.0.1 release?
Michael Goffioul
michael.goffioul at gmail.com
Tue Apr 8 08:44:50 CDT 2008
On Tue, Apr 8, 2008 at 3:25 PM, Bateman David-ADB014
<David.Bateman at motorola.com> wrote:
>
>
>
> The code
>
> #include <iostream>
> int main (void)
> {
> uint64_t a = 0x001FFFFFFFFFFFFFUL^0x0007FFFFFFFFFFFFUL;
> std::cerr << a << std::endl;
> return 0;
> }
>
> returns 6755399441055744, and I suspect it does something else under MSVC
I added the following line (because MSVC does not have uint64_t, and it is the
way it is done with octave):
typedef unsigned long long uint64_t;
The result is
6755399441055744
It seems to match what you expect.
Michael.
More information about the Octave-maintainers
mailing list