1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-23 21:10:29 +02:00

(Uniform Arrays): Note 1/3 prototype for doubles is now an exact fraction.

This commit is contained in:
Kevin Ryde 2004-02-12 00:19:40 +00:00
parent 9ad3bc119f
commit b55d48bb0c

View file

@ -1547,13 +1547,15 @@ prototype type printing character
'l signed long long (integer) l
1.0 float (single precision) s
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
() conventional vector
@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
are identical to strings: