emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110765: Undocument cl-floatp-safe


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110765: Undocument cl-floatp-safe, since it is no longer relevant
Date: Fri, 02 Nov 2012 18:29:56 -0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110765
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Fri 2012-11-02 18:29:56 -0400
message:
  Undocument cl-floatp-safe, since it is no longer relevant
  
  * doc/misc/cl.texi (Naming Conventions, Type Predicates, Macros)
  (Predicates on Numbers): No longer mention cl-floatp-safe.
modified:
  doc/misc/ChangeLog
  doc/misc/cl.texi
=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2012-11-01 07:16:32 +0000
+++ b/doc/misc/ChangeLog        2012-11-02 22:29:56 +0000
@@ -1,3 +1,8 @@
+2012-11-02  Glenn Morris  <address@hidden>
+
+       * cl.texi (Naming Conventions, Type Predicates, Macros)
+       (Predicates on Numbers): No longer mention cl-floatp-safe.
+
 2012-11-01  Glenn Morris  <address@hidden>
 
        * cl.texi: General copyedits for style, line-breaks, etc.

=== modified file 'doc/misc/cl.texi'
--- a/doc/misc/cl.texi  2012-11-01 07:16:32 +0000
+++ b/doc/misc/cl.texi  2012-11-02 22:29:56 +0000
@@ -229,7 +229,7 @@
 
 @example
 cl-callf           cl-callf2          cl-defsubst
-cl-floatp-safe     cl-letf            cl-letf*
+cl-letf            cl-letf*
 @end example
 
 @c This is not uninteresting I suppose, but is of zero practical relevance
@@ -239,13 +239,13 @@
 
 @example
 cl-evenp           cl-oddp            cl-minusp
-cl-plusp           cl-floatp-safe     cl-endp
+cl-plusp           cl-endp            cl-subst
 cl-copy-list       cl-list*           cl-ldiff
 cl-rest            cl-decf [1]        cl-incf [1]
 cl-acons           cl-adjoin [2]      cl-pairlis
 cl-pushnew [1,2]   cl-declaim         cl-proclaim
 address@hidden                  address@hidden
-cl-subst           cl-mapcar [3]
+cl-mapcar [3]
 @end example
 
 @noindent
@@ -300,7 +300,8 @@
 This is analogous to the @code{defsubst} form;
 @code{cl-defsubst} uses a different method (compiler macros) which
 works in all versions of Emacs, and also generates somewhat more
address@hidden Really?
address@hidden For some examples,
address@hidden see 
http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00009.html
 efficient inline expansions.  In particular, @code{cl-defsubst}
 arranges for the processing of keyword arguments, default values,
 etc., to be done at compile-time whenever possible.
@@ -702,11 +703,13 @@
 The type symbols @code{character} and @code{string-char} match
 integers in the range from 0 to 255.
 
address@hidden No longer relevant, so covered by first item above (float -> 
floatp).
address@hidden
 @item
 The type symbol @code{float} uses the @code{cl-floatp-safe} predicate
 defined by this package rather than @code{floatp}, so it will work
address@hidden FIXME are any such platforms still relevant?
 correctly even in Emacs versions without floating-point support.
address@hidden ignore
 
 @item
 The type list @code{(integer @var{low} @var{high})} represents all
@@ -2551,7 +2554,7 @@
 (cl-define-compiler-macro cl-member (&whole form a list &rest keys)
      (if (and (null keys)
               (eq (car-safe a) 'quote)
-              (not (floatp-safe (cadr a))))
+              (not (floatp (cadr a))))
          (list 'memq a list)
        form))
 @end example
@@ -2908,7 +2911,7 @@
 which were left out of Emacs Lisp.
 
 @menu
-* Predicates on Numbers::       @code{cl-plusp}, @code{cl-oddp}, 
@code{cl-floatp-safe}, etc.
+* Predicates on Numbers::       @code{cl-plusp}, @code{cl-oddp}, etc.
 * Numerical Functions::         @code{abs}, @code{cl-floor}, etc.
 * Random Numbers::              @code{cl-random}, @code{cl-make-random-state}.
 * Implementation Parameters::   @code{cl-most-positive-float}.
@@ -2941,11 +2944,13 @@
 error if the argument is not an integer.
 @end defun
 
address@hidden
 @defun cl-floatp-safe object
 This predicate tests whether @var{object} is a floating-point
 number.  On systems that support floating-point, this is equivalent
 to @code{floatp}.  On other systems, this always returns @code{nil}.
 @end defun
address@hidden ignore
 
 @node Numerical Functions
 @section Numerical Functions


reply via email to

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