Mercurial > octave-nkf
comparison NEWS @ 18686:3647db1a37d7
NEWS entry for previous printf format changes
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 16 Apr 2014 20:44:00 -0400 |
parents | 7485f8a8e431 |
children | 700714c099a2 |
comparison
equal
deleted
inserted
replaced
18684:491b0adfec95 | 18686:3647db1a37d7 |
---|---|
6 The interpolation method 'cubic' is now equivalent to 'pchip' | 6 The interpolation method 'cubic' is now equivalent to 'pchip' |
7 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent | 7 for interp1, interp2, and interp3. Previously, 'cubic' was equivalent |
8 to 'spline' for interp2. This may produce different results as 'spline' | 8 to 'spline' for interp2. This may produce different results as 'spline' |
9 has continuous 1st and 2nd derivatives while 'pchip' only has a continuous | 9 has continuous 1st and 2nd derivatives while 'pchip' only has a continuous |
10 1st derivative. | 10 1st derivative. |
11 | |
12 ** Integer formats used in the printf family of functions now work for | |
13 64-bit integers and are more compatible with Matlab when printing | |
14 non-integer values. Now instead of truncating, Octave will switch | |
15 the effective format to '%g' in the following circumstances: | |
16 | |
17 * the value of an integer type (int8, uint32, etc.) value exceeds | |
18 the maximum for the format specifier. For '%d', the limit is | |
19 intmax ('int64') and for '%u' it is intmax ('uint64'). | |
20 | |
21 * round(x) != x or the value is outside the range allowed by the | |
22 integer format specifier. | |
23 | |
24 There is still one difference: Matlab switches to '%e' and Octave | |
25 is currently switching to '%g'. | |
11 | 26 |
12 ** Other new functions added in 4.2: | 27 ** Other new functions added in 4.2: |
13 | 28 |
14 dir_in_loadpath | 29 dir_in_loadpath |
15 hgload | 30 hgload |