flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Negative Floating Point Numbers

Author
Thread Post new topic Reply to topic
Eoin



Joined: 16 Jun 2003
Posts: 68
Location: Ireland
Eoin 03 Sep 2003, 16:03
The line
Code:
if +arg eq arg | arg +0 eq arg 0    
in my stdcall macro gives an "invalid name" error if arg is a negative FP number. It works grand for positive FPs and either type of int.
Post 03 Sep 2003, 16:03
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 03 Sep 2003, 16:12
This methos of checking type of arguments is anyway obsolete, since "eqtype" operator was introduced in 1.44.
Post 03 Sep 2003, 16:12
View user's profile Send private message Visit poster's website Reply with quote
Eoin



Joined: 16 Jun 2003
Posts: 68
Location: Ireland
Eoin 05 Sep 2003, 17:12
I'd forgotton about that. Thanks
Post 05 Sep 2003, 17:12
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.