OpenLink Software

Usage stats on Shift operator

 Permalink

an Entity in Data Space: 134.155.108.49:8890

A shift operator is used to move the binary flags in a certain direction along the binary digits. In NWScript, the shift operators are <<, >>, and >>>. All shift operators use the integer data type both for the binary field whose flags are being shifted and for the number of places the flags are shifted. The binary field is entered to the left of the shift operator, and the number of places is entered to the right of the shift operator. The number of places is interpreted by machine code modulo 32 (thus shifts are from 0 to 31 places, values outside the range are interpreted as their remainder when divided by 32). The binary field in NWScript consists of 32 bits. No shift in NWScript is circular, thus binary flags shifted outside the binary field are lost.

Graph IRICount
http://dbkwik.webdatacommons.org5
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2012 OpenLink Software