[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile/guile-core/libguile ChangeLog eq.c
From: |
Dirk Herrmann |
Subject: |
guile/guile-core/libguile ChangeLog eq.c |
Date: |
Sat, 06 Sep 2003 04:50:27 -0400 |
CVSROOT: /cvsroot/guile
Module name: guile
Branch:
Changes by: Dirk Herrmann <address@hidden> 03/09/06 04:50:26
Modified files:
guile-core/libguile: ChangeLog eq.c
Log message:
* eq.c (scm_eqv_p, scm_equal_p): Removed uses of
SCM_SLOPPY_INEXACTP, SCM_SLOPPY_REALP and SCM_SLOPPY_COMPLEXP.
* eq.c (scm_eqv_p, scm_equal_p): Reordered comparisons from
0.0==some_expression to some_expression==0.0. The latter is
better readable. The former is preferred by some people, since it
leads to a compiler error when confusing == with =. However, when
using gcc, a warning will be issued if in an if-statement an
assigment appears. Since many Guile developers are using gcc,
such errors will not remain unnoticed anyway. We can therefore
focus on better readability.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile/guile-core/libguile/ChangeLog.diff?tr1=1.1921&tr2=1.1922&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile/guile-core/libguile/eq.c.diff?tr1=1.45&tr2=1.46&r1=text&r2=text