Testing in big-endian system

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Testing in big-endian system

Carnë Draug
Hi

If anyone has Octave installed in a big-endian machine, could they
check what the following returns:

    [~, ~, endian] = computer ()
    x = false (1, 32);
    x(1) = true;
    disp (bitpack (x, "uint32"))
    x(9) = true;
    disp (bitpack (x, "uint32"))

Thank you
carandraug

Reply | Threaded
Open this post in threaded view
|

Re: Testing in big-endian system

Carnë Draug
On Thu, 1 Nov 2018 at 15:21, Carnë Draug <[hidden email]> wrote:

> Hi
>
> If anyone has Octave installed in a big-endian machine, could they
> check what the following returns:
>
>     [~, ~, endian] = computer ()
>     x = false (1, 32);
>     x(1) = true;
>     disp (bitpack (x, "uint32"))
>     x(9) = true;
>     disp (bitpack (x, "uint32"))
>
> Thank you
> carandraug

I got someone to do this and send me the results outside the mailing list.
For anyone interested, I reported the bug found at
https://savannah.gnu.org/bugs/index.php?54931

Thank you all anyway