bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile.info: Formatted Output


From: Alex Schroeder
Subject: guile.info: Formatted Output
Date: Sun, 23 Sep 2001 23:22:19 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

There is a mixme in that node:

    `~f'
          Output the corresponding ARG as a fixed format floating point
          number, such as `1.34'.

    `~e'
          Output the corresponding ARG in exponential notation, such as
          `1.34E+0'.

    `~g'
          %% FIXME::martin: There must be a difference.  Does anybody
          know?  Like `~f'.

In Emacs "format" does the following:

%f means print a number in decimal-point notation.
%g means print a number in exponential notation
  or decimal-point notation, whichever uses fewer characters.

Perhaps Guile does or should do the same.

Alex.
-- 
http://www.geocities.com/kensanata/
Coffee should be black as hell, strong as death and sweet as love.
        -- Turkish proverb



reply via email to

[Prev in Thread] Current Thread [Next in Thread]