[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57663] printf output doc error
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #57663] printf output doc error |
Date: |
Fri, 24 Jan 2020 14:15:27 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 |
Follow-up Comment #1, bug #57663 (project octave):
The current documentation looks right to me. I think your change would make
the text incorrect.
By way of example,
>> printf ("%.20g\n", 1e16)
10000000000000000
>> printf ("%.20g\n", 1e20)
1e+20
In this example, the precision is 20 digits. The style of "%e" is used when
the exponent is greater than or equal to 20, otherwise the "%f" style is
used.
Do you have an example that shows why you think the current doc test is in
error?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57663>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57663] printf output doc error, Francesco Potortì, 2020/01/24
- [Octave-bug-tracker] [bug #57663] printf output doc error,
Mike Miller <=
- [Octave-bug-tracker] [bug #57663] printf output doc error, Mike Miller, 2020/01/24
- [Octave-bug-tracker] [bug #57663] printf output doc error, Francesco Potortì, 2020/01/25
- [Octave-bug-tracker] [bug #57663] printf output doc error, Mike Miller, 2020/01/25
- [Octave-bug-tracker] [bug #57663] printf output doc error, Mike Miller, 2020/01/25
- [Octave-bug-tracker] [bug #57663] printf output doc error, Francesco Potortì, 2020/01/25
- [Octave-bug-tracker] [bug #57663] printf output doc error, Rik, 2020/01/28