Re: [Libclc-developers] Re: clc_ultostr doc change
Status: Planning
Brought to you by:
augestad
|
From: regis <re...@in...> - 2003-04-03 16:18:34
|
Jan Engelhardt wrote: > > >>> DESCRIPTION > >>> The clc_ultostr() function converts the number NUM to a string, in > >>> base BASE notation. BASE must be between 2 and 36 inclusive. SIZE > >>> must be at least 1. To summarize it, this function does (nearly) > >>> exactly the opposite of strtoul(). > >> > >> Now we have to discuss what we gain by two spaces. > > > >Er, what? > > "Why is there two spaces between a sentence end and the next one > like "notation. BASE"? Probably just the ugly man<->txt formatter. Typographic rules change from languages to languages. In French: a) for simple marks => no space before and one after (comma, period) b) for double marks => one insecable space before and one space after, (colon, exclamation, question mark) In English: a) same as in French except for the period (two spaces after) b) no space before double marks but one after In both languages: c) suspension mark (...) follows the same rule as for the period. > Oh yeah indeed, few people really need ultostr, as;all they > ever need will be %o, %d and %x, which are in printf. > But, does glibc contain only functions the mass needs? base 2 is more useful than base 8 and is missing... -- Regis |