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:
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
|
||||
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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue