[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] very minor bug: permutation documentation
From: |
Jerome BENOIT |
Subject: |
[Help-gsl] very minor bug: permutation documentation |
Date: |
Thu, 12 Jul 2007 12:41:43 +0800 |
User-agent: |
IceDove 1.5.0.10 (X11/20070328) |
Hello List,
in the section 9.7 ("Reading and writing permutations"),
for the function `gsl_permutation_fprintf' they are the comment:
On a GNU system the type modifier Z represents size_t, so "%Zu\n" is a suitable
format.
On the other hand, in the `The GNUC Libray' document, in subsection 12.12.4 "Integer
Conversions",
we read:
`z' was introduced in ISO C99. `Z' is a GNU extension predating this addition
and should not be used in new code.
So, the capital Z may be replaced by a lower `z' and the GNU stuff may be
removed:
In ISO C99 the type modifier z represents size_t, so "%zu\n" is a suitable
format.
hth,
Jerome
--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net
- [Help-gsl] very minor bug: permutation documentation,
Jerome BENOIT <=