If there's a way to do it without having to break encapsulation of value and peek at their internal flags, I don't know such a way - but I'd love to hear about it.
Tried and failed. Need to find something that can distinguish between absent IV and NV and zero IV or NV. This boils down to finding something that
Lots of operations match the first requirement (arithmetic and bitwise ops) but I can't think of anything that matches both.
In reply to Re^3: Determining whether a value is zero.
by ikegami
in thread Determining whether a value is zero.
by JavaFan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |