<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Thanks, thats a relief, at least the stupidity factor has been removed
<br>(for the time being anyway)
<br>
<br>
<p>Matthias.Lang@ericsson.com wrote:
<blockquote TYPE=CITE>Hi,
<p>The bug you demonstrate doesn't appear to be present in R6B, so I'd
<br>say it's a fixed bug. (I can reproduce it in R5b, but not in R6B).
I
<br>couldn't find that bug listed in the release notes, though the runtime
<br>system release notes mention a fix for something similar.
<p>Matt
<p>Tony Pedley writes:
<p> > Excuse me for my stupidity but could anyone explain why the
coerce
<br> > and exact operators do not work as advertised....
<p> >
<br> > % Surely one must match......
<br> >
<br> > match(X) ->
<br> > io:format("when X is ~p\nX==0 results
in ~p\nX=:=0 results in ~p\n",[X,X==0,X=:=0]),
<br> > if
<br> > X == 0 ->
<br> >
coerce_match;
<br> > X =:= 0 ->
<br> >
exact_match;
<br> > true ->
<br> >
no_match
<br> > end.
<br> >
<br> > ------------------------------>
<br> >
<br> > 41> tmp:match(0.0).
<br> >
<br> > when X is 0.00000e+0,
<br> > X==0 results in true
<br> > X=:=0 results in false
<br> > no_match
<br> >
<br> ></blockquote>
<pre>--
______________________________________________________________________
Tony Pedley <A HREF="mailto:tonyp@terminus.ericsson.se">mailto:tonyp@terminus.ericsson.se</A>
Ericsson Intracom Ltd. Intranet : <A HREF="http://intracom.ericsson.se">http://intracom.ericsson.se</A>
1 Bede Island Internet : <A HREF="http://www.ericsson.co.uk/datacom/index.htm">http://www.ericsson.co.uk/datacom/index.htm</A>
Leicester memoID : ECOM.CBERAM
England Tel : +44 (0)116 2 542 400
LE2 7EU Fax : +44 (0)116 2 046 111
______________________________________________________________________</pre>
</html>