Custom Query (1030 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (574 - 576 of 1030)

Ticket Resolution Summary Owner Reporter
#880 fixed ~F format directive incorrectly uses exponential form when "w" and "d" are omitted. R. Matthew Emerson aidenn0
Description

From Section 22.3.3.1

If both w and d are omitted, then the effect is to print the value using ordinary free-format output; prin1 uses this format for any number whose magnitude is either zero or between 10-3 (inclusive) and 107 (exclusive).

free-format is defined in this section to be the same format used by prin1 for the range 10-3 through 107. This is covered in section 22.1.3.1.3:

If the magnitude of the float is either zero or between 10-3 (inclusive) and 107 (exclusive), it is printed as the integer part of the number, then a decimal point, followed by the fractional part of the number; there is always at least one digit on each side of the decimal point. If the sign of the number (as determined by float-sign) is negative, then a minus sign is printed before the number. If the format of the number does not match that specified by *read-default-float-format*, then the exponent marker for that format and the digit 0 are also printed. For example, the base of the natural logarithms as a short float might be printed as 2.71828S0.

22.3.3.1 does go on to say that if the width would be greater than 100, exponential notation may be used. However, it follows from the specification that (for example)

(format t "~F" 1e7)

should print:

10000000.0

Not:

1.0E+7

#882 fixed [patch] (restart-case (warn ... )) R. Matthew Emerson James M. Lawrence
Description
(handler-bind ((warning (lambda (w)
                          (declare (ignore w))
                          (invoke-restart 'eleven))))
  (restart-case (warn "foo")
    (eleven () 11)))

=>

value #<SIMPLE-CONDITION #x302000E8041D> is not of the expected type WARNING.
   [Condition of type TYPE-ERROR]

A simple-error is created by error, but a simple-warning is not created by warning :)

--- ccl/lib/macros.lisp	(revision 15001)
+++ ccl/lib/macros.lisp	(working copy)
@@ -409,7 +409,7 @@
           ((signal error warn)
            (destructuring-bind
              (cond &rest args) expansion
-             (setq condform `(condition-arg ,cond (list ,@args) ,(if (eq head 'warning)
+             (setq condform `(condition-arg ,cond (list ,@args) ,(if (eq head 'warn)
                                                                    ''simple-warning
                                                                    (if (eq head 'error)
                                                                      ''simple-error

#898 fixed Broken link in app store CCL's help R. Matthew Emerson Ben Hyde
Description

The index page for the help window includes a broken link, e.g. the one labeled "help." Here's a bit of that file, the problem is that last line shown.

<p>Aren't you glad you waited so long to see this window ?</p>

<p>The OpenMCL Doc directory is available <a href=../../../../doc/HTML/index.html>here</a>.

It looks like the doc dir is missing, and there are too many ..'s

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.