Bitwise AND operation. More...

Public Member Functions | |
| And () | |
| Constructor. | |
| double | function (double x, double y) |
| Calculates x AND y. | |
| OObject | function (OObject x, OObject y) |
| Calculates x AND y. | |
| String[] | name_array () |
| Array used to construct name() and shortName() String objects. | |
Static Public Member Functions | |
| static void | main (String args[]) |
Static Private Attributes | |
| static final String[] | fname = { " ", "a", "n", "d", " " } |
Bitwise AND operation.
For this operation the sign is not particularly meaningful. numbers are stored as IEEE 754 doubles which use a bit for sign and this operation carries out a logical AND on that bit.
| jscicalc.pobject.And.And | ( | ) |
Constructor.
Sets a tooltip and shortcut.
References jscicalc.pobject.PObject.fshortcut, and jscicalc.pobject.PObject.ftooltip.
Referenced by jscicalc.pobject.And.main().
| double jscicalc.pobject.And.function | ( | double | x, | |
| double | y | |||
| ) | [virtual] |
Calculates x AND y.
| x | The first value (left of symbol) | |
| y | The second value (right of symbol) |
Implements jscicalc.pobject.BoolFunction.
Calculates x AND y.
| x | The first value (left of symbol) | |
| y | The second value (right of symbol) |
Implements jscicalc.pobject.BoolFunction.
References jscicalc.OObject.and().
| static void jscicalc.pobject.And.main | ( | String | args[] | ) | [static] |
References jscicalc.pobject.And.And(), and jscicalc.pobject.PObject.name().
| String [] jscicalc.pobject.And.name_array | ( | ) | [virtual] |
Array used to construct name() and shortName() String objects.
Implements jscicalc.pobject.PObject.
References jscicalc.pobject.And.fname.
final String [] jscicalc.pobject.And.fname = { " ", "a", "n", "d", " " } [static, private] |
Referenced by jscicalc.pobject.And.name_array().
1.7.1