<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


Words in category Comparison Words in glossary 32-bit library

Search:
The following words are listed in this category (7 words found): Word Types: S = Standard, I = Immediate , IC = Immediate-compiling.
Word Name Word Type Data Stack Signature Return Stack Signature Description Availability
V1.0 V1.1 V1.2
D< S d:x d:y – true|false -- Returns TRUE if the double value x is arithmetically less than the double value y, otherwise returns FALSE.
D= S d:x d:y – true|false -- Returns TRUE if the double values x and y are the same, otherwise returns FALSE.
 
D> S d:x d:y – true|false -- Returns TRUE if the double value x is arithmetically greater than the double value y, otherwise returns FALSE.
 
D0= S d:x – true|false -- Returns TRUE if the double value x is equal to 0, otherwise returns FALSE.

 
DMAX S d:x d:y – d:x|d:y -- Arithmetically compares the double values x and y and drops the lower value, retaining the higher value.
DMIN S d:x d:y – d:x|d:y -- Arithmetically compares the double values x and y and drops the higher value, retaining the lower value.
 
DU< S ud:x ud:y – true|false -- Returns TRUE if the double value x is logically less than the double value y (an unsigned comparison), otherwise returns FALSE.

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>