Ignore:
Timestamp:
03/17/05 15:05:09 (16 years ago)
Author:
piso
Message:

SINGLE-FLOAT support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/format.lisp

    r8214 r8784  
    11;;; format.lisp
    22;;;
    3 ;;; Copyright (C) 2004 Peter Graves
    4 ;;; $Id: format.lisp,v 1.24 2004-12-06 17:48:28 piso Exp $
     3;;; Copyright (C) 2004-2005 Peter Graves
     4;;; $Id: format.lisp,v 1.25 2005-03-17 15:03:06 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    195195         (when scale
    196196           (setf x (* x (expt 10 scale))))
    197          (let* ((s (sys::%write-to-string x))
     197         (let* ((s (sys:float-string x))
    198198                (length (length s))
    199199                (index (position #\. s)))
Note: See TracChangeset for help on using the changeset viewer.