Changeset 36753 in project


Ignore:
Timestamp:
11/03/18 21:18:51 (11 days ago)
Author:
kon
Message:

C5 doesn't need float as integer hack for padding amount

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/5/format/trunk/format.scm

    r36265 r36753  
    290290(define (format:out-num-padded modifier number pars radix)
    291291        (unless (integer? number)
    292           (set! number (inexact->exact (truncate number)))
    293           #;(format:error "argument not an integer" number))
     292          (format:error "argument not an integer" number))
    294293        (let ((numstr (number->string number radix)))
    295294                (when (and format:radix-pref (not (fx= radix 10)))
Note: See TracChangeset for help on using the changeset viewer.