Numerical Service Extension |
Ver. 1.02 Contributed by Lijun Yang |
What
n_cst_numerical
Why
How
Bitwise Operation | PB script |
a && b | a*b |
a || b | int ((a+b+1)/2) |
a XOR b | mod(a+b, 2) |
!a | 1-a |
Usage :
Download the | About the extension contributor |
Revision History | ||
08/19/1997 | Initial Revision | Ver. 1.00 |
10/13/1997 | Changed the A XOR B bitwise operation from abs(a-b) to mod(a+b, 2) | Ver. 1.01 |
03/14/1998 | Corrected an error in binary-hexadecimal conversion | Ver. 1.02 |
Interested in contributing material to this web site? Send an email to submit@pfcguide.com, but don't forget to check the contribution guidelines first.
For information or suggestions about this web site please contact webmaster@pfcguide.com
PFCGuide is
sponsored by Dynamic Technology Group.
The information on this site is provided for advice only and not to be considered a
contract or a liability against Dynamic
Technology Group.