Description From Sam Wintermute 2008-09-10 12:31:18 (-) [reply]
Soar has numeric tests for >,<,<=,>=, but not plain equality. This is
apparently because that should be handled by just matching values, but that
does not work when one number is internally an integer and the other is
internally a float. So, Soar can detect that 1 <= 1.0 and 1 >= 1.0, but 1
!=
1.0 as detected by matching.
There should be a operator for equality across ints and floats, or the
matcher
should do implicit conversions, since these types are hidden from the user,
and
for symmetry with the rest of the numeric tests. If this isn't done, the
manual
should be updated to note this when the comparison operators are discussed.
Original issue reported on code.google.com by voigtjr@gmail.com on 23 Jul 2009 at 5:05
Original issue reported on code.google.com by
voigtjr@gmail.com
on 23 Jul 2009 at 5:05