Vanguard Software Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
Services From training to turnkey systems, our professional
services group is here to ensure your success.
Home > Services > Supporting Documents 1 >
Services
contents.gifindex.gifprev1.gifnext1.gif

Bitwise Or

Format: x | y

Arguments: (int) x Any integer

(int) y Any integer

Returns: (int) Bitwise x OR y

Description: This operator converts x and y from floating point numbers to 32-bit integers, compares all corresponding bits in x and y, and then returns a number that contains a 1 in each bit where the corresponding bit in either x OR y is 1.

Examples: 15|7 = 15  (1111 | 0111 = 1111)

5|3 = 7  (0101 | 0011 = 0111)

See Also: Logical Or, Bitwise And, Bitwise Exclusive Or, Bitwise Not, Left Shift, Right Shift, Zero-Fill Right Shift

Contact Us

Phone:  +1 919-859-4101
Web:  www.vanguardsw.com
Email:  info@vanguardsw.com

© 2008 Vanguard Software Corporation. All rights reserved.