Congratulations to our 2022 Qt Champions!

Zero-Fill Right Shift (bug or compatibility problem) ?

  • Hi,

    I'd like your opinion on, I tried using the zero-fill right shift operator on the QML side to get an unsigned number from a signed number. Ex :

    var j = 45;
    var uj = j >>> 0;

    On Windows 7 64 Bits and Linux Desktop it seems to work properly. But using it on a Beaglebone with Linux always produce the value 0.

    Do the ARM processor does not support this operator or it is a bug with the QML Javascript engine ?

    Best regards,

Log in to reply