flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > "defined" directive with floating point literals. |
Author |
|
Tomasz Grysztar 20 Nov 2015, 17:59
I'd qualify this as a bug. The floating point numbers are a special type of value that is allowed only in a few specific places and almost no operators can be applied to them, that is probably the reason why I overlooked this.
|
|||
20 Nov 2015, 17:59 |
|
l_inc 21 Nov 2015, 02:00
That was exactly my guess. But at the same time I was positively surprised about not encountering a similar bug in the context of relativeto .
_________________ Faith is a superposition of knowledge and fallacy |
|||
21 Nov 2015, 02:00 |
|
Tomasz Grysztar 05 Dec 2015, 13:23
Turns out that this case was already implemented, too - but it contains a bug, one of the constants defining the adjustment to the source pointer in EXPRCALC.INC is wrong:
Code: defined_fp_value: add esi,12 jmp expression_checked |
|||
05 Dec 2015, 13:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.