octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57663] printf output doc error


From: Francesco Potortì
Subject: [Octave-bug-tracker] [bug #57663] printf output doc error
Date: Fri, 24 Jan 2020 05:36:48 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

URL:
  <https://savannah.gnu.org/bugs/?57663>

                 Summary: printf output doc error
                 Project: GNU Octave
            Submitted by: pot
            Submitted on: Fri 24 Jan 2020 11:36:46 AM CET
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.1.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In the Floating-Point Conversion page I read:

   The ‘%g’ and ‘%G’ conversions print the argument in the style of
‘%e’ or ‘%E’ (respectively) if the exponent would be less than -4 or
greater than or equal to the precision; otherwise they use the ‘%f’
style.

The correct text should be something like:

   The ‘%g’ and ‘%G’ conversions print the argument in the style of
‘%e’ or ‘%E’ (respectively) if the exponent would be less than -4 or
greater 4; otherwise they use the ‘%f’ style.  In any case the precision
indicates the number of significant digits to use.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57663>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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