 67cdee6033
			
		
	
	
		67cdee6033
		
			
		
	
	
	
	
		
			
			* - Added calculation engine support for the new bitwise functions that were added in MS Excel 2013 - BITAND() Returns a Bitwise 'And' of two numbers - BITOR() Returns a Bitwise 'Or' of two number - BITXOR() Returns a Bitwise 'Exclusive Or' of two numbers - BITLSHIFT() Returns a number shifted left by a specified number of bits - BITRSHIFT() Returns a number shifted right by a specified number of bits
		
			
				
	
	
		
			21 lines
		
	
	
		
			222 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			222 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| return [
 | |
|     [
 | |
|         0b1100000,
 | |
|         [0b11, 5],
 | |
|     ],
 | |
|     [
 | |
|         0b10100,
 | |
|         [0b101, 2],
 | |
|     ],
 | |
|     [
 | |
|         '#VALUE!',
 | |
|         ['ABC', 5],
 | |
|     ],
 | |
|     [
 | |
|         '#NUM!',
 | |
|         [0b01, 48],
 | |
|     ],
 | |
| ];
 |