problem with passing floats in OAA

John Dowding ((no email))
Mon, 22 Jul 1996 10:56:35 -0700 (PDT)

I tracked down a bug in the OAA with passing floats in agent messages.
The problem is that when a goal is solved, and the answer is passed
back to the facilitator, the response will not unify with the call.
This is because floats will only unify if the internal representation
is bit-identical, but this is not happening when the floats are
recreated with prolog's read().

I have settled on a work-around of quoting all floats in CommandTalk,
then doing a remove_quotes() prior to converting them to floats in C.
This suggestion came from Didier.

I am also going to post a note to hotline@quintus.com, because I
thought that they choose to use exponential notation when printing
floats to solve exactly this problem.