Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Zero-Fill Right Shift (bug or compatibility problem) ?
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 429 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Erakis
    wrote on last edited by Erakis
    #1

    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,

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved