diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-10-24 15:29:28 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-10-24 15:29:51 -0700 |
commit | c2df282092512917e558f56797f2e2be889de61c (patch) | |
tree | 0907bf7ea7cd4f859201e9bb0d6b1c8bfdbe10a1 /test/floatize.asm | |
parent | f6816b25bf1c4852765a15564df3bc6a5081dfe1 (diff) | |
download | nasm-c2df282092512917e558f56797f2e2be889de61c.tar.gz |
Fix the handling of floating-point tokens in the preprocessor
Correct the handling of floating-point tokens in the preprocessor.
The preprocessor scanner and the main scanner really are painfully
divergent for no good reason.
Diffstat (limited to 'test/floatize.asm')
-rw-r--r-- | test/floatize.asm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/floatize.asm b/test/floatize.asm new file mode 100644 index 00000000..0ff43efd --- /dev/null +++ b/test/floatize.asm @@ -0,0 +1,16 @@ +%assign x13 13+26 +%assign f16 __float16__(1.6e-7) +%assign f32 __float32__(1.6e-7) +%assign f64 __float64__(1.6e-7) +%assign f80m __float80m__(1.6e-7) +%assign f80e __float80e__(1.6e-7) +%assign f128l __float128l__(1.6e-7) +%assign f128h __float128h__(1.6e-7) + + dw f16 + dd f32 + dq f64 + dq f80m + dw f80e + dq f128l + dq f128h |