Opened 5 years ago

Closed 2 years ago

#1297 closed defect (fixed)

format ~,,kF is not implemented.

Reported by: informatimago Owned by:
Priority: normal Milestone:
Component: ANSI CL Compliance Version: 1.10
Keywords: Cc:


(format nil "~2f" 0.1) should return "10.0", but we get "0.1".

(format nil "~,,2f" 0.1)  --> "0.1"         ; bad
(format nil "~8,,2f" 0.1) --> "    10.0"    ; ok
(format nil "~,8,2f" 0.1) --> "10.00000000" ; ok

Change History (2)

comment:1 Changed 3 years ago by ninejaguar

I just discovered this ticket for this from nearly 2 years ago under CCL v1.10 after creating a separate ticket under CCL v1.11:

This ticket shows slightly different scenarios but is essentially the same issue. While seemingly minor, it does appear to be a Common Lisp standard compliance gap.

I would keep both tickets to help highlight/clarify the issue. Is there a way to merge tickets under a common parent?

comment:2 Changed 2 years ago by rme

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.