mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-24 13:30:21 +02:00
(Uniform Arrays): Note 1/3 prototype for doubles is now an exact fraction.
This commit is contained in:
parent
9ad3bc119f
commit
b55d48bb0c
1 changed files with 5 additions and 3 deletions
|
@ -1547,13 +1547,15 @@ prototype type printing character
|
||||||
'l signed long long (integer) l
|
'l signed long long (integer) l
|
||||||
1.0 float (single precision) s
|
1.0 float (single precision) s
|
||||||
1/3 double (double precision float) i
|
1/3 double (double precision float) i
|
||||||
[FIXME: This (1/3) no longer works due to the
|
|
||||||
new support for rational numbers.]
|
|
||||||
0+i complex (double precision) c
|
0+i complex (double precision) c
|
||||||
() conventional vector
|
() conventional vector
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
@noindent
|
Note that with the introduction of exact fractions in Guile 1.8,
|
||||||
|
@samp{1/3} here is now a fraction, where previously such an expression
|
||||||
|
was a double @samp{0.333@dots{}}. For most normal usages this should
|
||||||
|
be source code compatible.
|
||||||
|
|
||||||
Unshared uniform arrays of characters with a single zero-based dimension
|
Unshared uniform arrays of characters with a single zero-based dimension
|
||||||
are identical to strings:
|
are identical to strings:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue