AnsweredAssumed Answered

vrf vrf Comparator

Question asked by adam_kohler on Nov 26, 2002
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META content="MSHTML 6.00.2600.0" name=GENERATOR><STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }P.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}LI.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}DIV.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}A:link {     COLOR: blue; TEXT-DECORATION: underline}SPAN.MsoHyperlink {     COLOR: blue; TEXT-DECORATION: underline}A:visited {     COLOR: purple; TEXT-DECORATION: underline}SPAN.MsoHyperlinkFollowed {     COLOR: purple; TEXT-DECORATION: underline}SPAN.EmailStyle17 {     COLOR: windowtext; FONT-FAMILY: Arial}DIV.Section1 {     page: Section1}</STYLE></HEAD><BODY lang=EN-US vLink=purple link=blue><DIV><FONT face="Courier New" color=#0000ff size=2><SPANclass=557410516-26112002>I think your problem is that Comparator objects only do"almost equal" tests.  This is taken from the Help for Comparator</SPAN></FONT></DIV><DIV><FONT face="Courier New" color=#0000ff size=2><SPANclass=557410516-26112002></SPAN></FONT> </DIV><DIV><FONT face="Courier New" color=#0000ff size=2><SPANclass=557410516-26112002>All tests use an "almost equal" algorithm that checksequality or inequality to at least six significant digits.</SPAN></FONT></DIV><DIV> </DIV><DIV><SPAN class=557410516-26112002><FONT face="Courier New" color=#0000ffsize=2>I fell into this trap before.  </FONT></SPAN></DIV><P><FONT size=2>Adam Kohler<BR>Software Test<BR>EPSG<BR>AgilentTechnologies<BR>Scotland<BR><BR></FONT></P><DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahomasize=2>-----Original Message-----<BR><B>From:</B>Donald.Johnson@Thalescomminc.com[mailto:Donald.Johnson@Thalescomminc.com]<BR><B>Sent:</B> Tue 26 November 200215:53<BR><B>To:</B> VEE vrf<BR><B>Subject:</B> [vrf] vrfComparator<BR><BR></FONT></DIV><DIV class=Section1><P class=MsoNormal><FONT face=Arial size=2><SPANstyle="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can anyone help with this comparatorproblem?</SPAN></FONT></P><P class=MsoNormal><FONT face=Arial size=2><SPANstyle="FONT-SIZE: 10pt; FONT-FAMILY: Arial">When the Integer bit length is >24 the comparator no longer works whereas the IF-THEN-ELSEdoes.</SPAN></FONT></P><P class=MsoNormal><FONT face=Arial size=2><SPANstyle="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This can be seen with Execution andData flow on. The displays for the comparator (#1, #2, #3) are not activatedafter 19999999.</SPAN></FONT></P><P class=MsoNormal><FONT face=Arial size=2><SPANstyle="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks.</SPAN></FONT></P><P class=MsoNormal><FONT face=Arial size=2><SPANstyle="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P><P class=MsoNormal><FONT face=Arial size=2><SPANstyle="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Don Johnson</SPAN></FONT></P><P class=MsoNormal><FONT face=Arial size=2><SPANstyle="FONT-SIZE: 10pt; FONT-FAMILY: Arial">djohnson@thalescomminc.com</SPAN></FONT></P><P class=MsoNormal><FONT face="Times New Roman" size=3><SPANstyle="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV><P><FONT face=Arial size=2>This email and any files transmitted with it areconfidential and are intended solely for the use of the individual or entity towhom they are addressed. This communication represents the originator's personalviews and opinions, which do not necessarily reflect those of ThalesCommunications, Inc. If you are not the original recipient or the personresponsible for delivering the email to the intended recipient, be advised thatyou have received this email in error, and that any use, dissemination,forwarding, printing, or copying of this email is strictly prohibited. If youreceived this email in error, please immediately notifyAdministrator@Thalescomminc.com.</FONT></P><P><FONT face=Arial size=2></FONT></P></BODY></HTML>  

Outcomes