summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-26 19:31:56 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-02-26 19:31:56 +0000
commit19c6a057db317a19ae1c5f345edf2d3aa285e46a (patch)
treebfbcc9968507d3aa8a4f6016287441094a5fb8d0 /TAO/tests/IDL_Test
parentb51e21ac3928e58e674031ef1b9ced22531643df (diff)
downloadATCD-19c6a057db317a19ae1c5f345edf2d3aa285e46a.tar.gz
ChangeLogTag: Mon Feb 26 19:30:28 UTC 2007 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tests/IDL_Test')
-rw-r--r--TAO/tests/IDL_Test/constants.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/TAO/tests/IDL_Test/constants.idl b/TAO/tests/IDL_Test/constants.idl
index 4d95752d59e..732baa4eb26 100644
--- a/TAO/tests/IDL_Test/constants.idl
+++ b/TAO/tests/IDL_Test/constants.idl
@@ -66,6 +66,14 @@ const double take = 2e3;
const double dip = 1.797693134862315E+308;
const double trouble = 2.2250738585072014E-308;
+// const values created through mathematic operations
+const long neg = -8;
+const long sub1 = 0x10 - 0x01;
+const long sub2 = 0x10 + (-0x01);
+const unsigned long add1 = 16 + 1;
+const unsigned long mul1 = 0x80 * 0x70;
+const unsigned long div1 = 99 / 12;
+
// The original Sun code for bitwise operators was broken.
const unsigned short stuff = ~0;