diff options
Diffstat (limited to 'tests/IDL_Test/constants.idl')
-rw-r--r-- | tests/IDL_Test/constants.idl | 46 |
1 files changed, 26 insertions, 20 deletions
diff --git a/tests/IDL_Test/constants.idl b/tests/IDL_Test/constants.idl index a5ba3bc4f4d..b93e5d3a385 100644 --- a/tests/IDL_Test/constants.idl +++ b/tests/IDL_Test/constants.idl @@ -1,23 +1,20 @@ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// TAO/tests/IDL_Test -// -// = FILENAME -// constants.idl -// -// = DESCRIPTION -// This file contains examples of IDL code that has -// caused problems in the past for the TAO IDL -// compiler. This test is to make sure the problems -// stay fixed. -// -// = AUTHORS -// Jeff Parsons <parsons@cs.wustl.edu> and TAO users. -// -// ============================================================================ + +//============================================================================= +/** + * @file constants.idl + * + * $Id$ + * + * This file contains examples of IDL code that has + * caused problems in the past for the TAO IDL + * compiler. This test is to make sure the problems + * stay fixed. + * + * + * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users. + */ +//============================================================================= + const string all_escape = "\n\t\v\b\r\f\a\\\?\'\""; @@ -72,6 +69,15 @@ const double take = 2e3; const double dip = 1.797693134862315E+308; const double trouble = 2.2250738585072014E-308; +// A few long double cases. No test for values outside +// the range of 8-byte doubles, since some supported +// platforms have 8-byte long doubles. + +const long double dbl_easy = 698.91148263188057; +const long double dbl_dip = 1.797693134862315E+308; +const long double dbl_trouble = 2.2250738585072014E-308; +const long double dbl_int = 7.; + // const values created through mathematic operations const long neg = -8; const long sub1 = 0x10 - 0x01; |