Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 22, 2012, 05:06:55 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
General Discussion
>
205 comparative Bit????
Pages: [
1
]
« previous
next »
Print
Author
Topic: 205 comparative Bit???? (Read 348 times)
jstutzman
Newbie
Posts: 2
205 comparative Bit????
«
on:
May 23, 2011, 03:24:56 pm »
Can STR comparative bit "greater-than-or-equal-to" be used for real numbers?
Logged
franji1
Bit Weenie
Host Moderator
Posts: 1035
Re: 205 comparative Bit????
«
Reply #1 on:
May 23, 2011, 03:28:53 pm »
Sorry, no. It just does a binary comparison of unsigned 16 bits, not an IEEE 32 bit floating point compare (REAL). See CMPR box instruction for comparing two REAL numbers.
Logged
There are only 10 kinds of people in this world: those who know binary, and those who don't
jstutzman
Newbie
Posts: 2
Re: 205 comparative Bit????
«
Reply #2 on:
May 23, 2011, 05:45:34 pm »
Thanks,
That was my gut feeling but I thought if I could do it that way it would shorten my program.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...