[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Suggestion for renamings (fwd)

From: Dirk Herrmann
Subject: Suggestion for renamings (fwd)
Date: Thu, 18 Jan 2001 14:49:54 +0100 (MET)

Sorry, this was intended to go to guile-devel.

Dirk Herrmann

---------- Forwarded message ----------
Date: Thu, 18 Jan 2001 14:49:06 +0100 (MET)
From: Dirk Herrmann <address@hidden>
To: Guile User Mailing List <address@hidden>
Subject: Suggestion for renamings


I suggest the following renamings (i. e. deprecating the previous names):

'most-positive-fixnum    --> 'fixnum-max
'most-negative-fixnum    --> 'fixnum-min

These names fit better in the naming scheme that is used in limits.h.  In
addition I suggest to also provide 'fixnum-bit on the scheme level.  (Now
Mikael will be smiling, because not a long time ago I was argueing against
providing 'most-positive-fixnum and 'most-negative-fixnum on the scheme
level at all :-).  So, why that?  It is useful for guile's test-suite.  I
have realized that some of the recently fixed bugs would have been
detected much earlier if it was possible to perform real boundary testing
in the test-suite instead of just performing a couple or arbitrary tests.
Especially the boundary between fixnums and bignums appeared to be of
interest there.

If nobody objects, I will apply the corresponding patch.  Better
suggestions are certainly welcome.

Best regards,
Dirk Herrmann

reply via email to

[Prev in Thread] Current Thread [Next in Thread]