atspre_compare_string_string problem

14 views
Skip to first unread message

Barry Schwartz

unread,
Nov 17, 2015, 3:44:01 PM11/17/15
to ats-lan...@googlegroups.com
It seems to me that atspre_compare_string_string is not guaranteed to
return a Sgn as specified, because strcmp need not return a number
with absolute value <= 1.

Hongwei Xi

unread,
Nov 17, 2015, 4:48:05 PM11/17/15
to ats-lan...@googlegroups.com
Good point.

I added a call to int2sgn to fix this.


--
You received this message because you are subscribed to the Google Groups "ats-lang-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/20151117204348.GA21228%40crud.

Reply all
Reply to author
Forward
0 new messages