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
25 lines
325 B
PHP
25 lines
325 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
0b110010,
|
|
[0b10101, 0b100111],
|
|
],
|
|
[
|
|
0b01110000,
|
|
[0b11001000, 0b10111000],
|
|
],
|
|
[
|
|
0b11011000,
|
|
[0b01110010, 0b10101010],
|
|
],
|
|
[
|
|
'#VALUE!',
|
|
['ABC', 'DEF'],
|
|
],
|
|
[
|
|
'#NUM!',
|
|
[12.00, 2.82E14],
|
|
],
|
|
];
|