Raymond Toy pushed to branch issue-275b-signal-float-underflow at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • src/code/reader.lisp
    ... ... @@ -1883,8 +1883,8 @@ the end of the stream."
    1883 1883
           ;; 0.
    
    1884 1884
           (let ((zero (coerce 0 float-format)))
    
    1885 1885
             (restart-case
    
    1886
    -            (%reader-error stream _"Floating point underflow when reading ~S"
    
    1887
    -                           (read-buffer-to-string))
    
    1886
    +            (%reader-error stream _"Floating point underflow when reading ~S: ~S"
    
    1887
    +                           float-format (read-buffer-to-string))
    
    1888 1888
               (continue ()
    
    1889 1889
                 :report (lambda (stream)
    
    1890 1890
                           (format stream "Return ~A" zero))
    

  • src/i18n/locale/cmucl.pot
    ... ... @@ -8736,7 +8736,7 @@ msgid "Underflow"
    8736 8736
     msgstr ""
    
    8737 8737
     
    
    8738 8738
     #: src/code/reader.lisp
    
    8739
    -msgid "Floating point underflow when reading ~S"
    
    8739
    +msgid "Floating point underflow when reading ~S: ~S"
    
    8740 8740
     msgstr ""
    
    8741 8741
     
    
    8742 8742
     #: src/code/reader.lisp