diff options
author | Kenneth Russel <[email protected]> | 2008-08-17 23:52:29 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-08-17 23:52:29 +0000 |
commit | 10032c0115f2794a254cffc2a1cd5e48ca8ff0b8 (patch) | |
tree | 5b599c573265a8744c353e840fb09634ee85b67d /test/issue7.h | |
parent | c4e636dd43da8f327f726a5a508e033197d2ab80 (diff) |
Fixed Issue 7: #define of negative numeric literals are ignored
Applied patch from user tck and adapted to the code structure of the
current branch. Thanks for the patch.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@108 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'test/issue7.h')
-rwxr-xr-x | test/issue7.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/issue7.h b/test/issue7.h new file mode 100755 index 0000000..ba2d3f5 --- /dev/null +++ b/test/issue7.h @@ -0,0 +1,19 @@ +#define inttest0 100 +#define inttest1 -100 + +#define longtest0 10000000000 +#define longtest1 -10000000000 + +#define floattest0 100.0 +#define floattest1 -100.0 +#define floattest2 0.01 +#define floattest3 -0.01 +#define floattest4 1e2 +#define floattest5 -1e2 +#define floattest6 1e-2 +#define floattest7 -1e-2 + +#define doubletest0 2e150 +#define doubletest1 -2e150 +#define doubletest2 2e-150 +#define doubletest3 -2e-150 |