[vox-tech] Re: totally confused about C promotion

Peter Jay Salzman vox-tech@lists.lugod.org
Mon, 14 Jan 2002 15:32:03 -0800


btw, i *just* found functions like sqrtl and logl in the glibc info
page.  apparently, C99 specifies math functions which take and return
long doubles (as well as floats).  i wish they had man pages...

i think this makes my question less important, but i'm still very
interested in the answer.

pete



begin p <p> 
> from kernighan and ritchie, page 45:
> 
>   For example, the library routine sqrt expects a double argument, and
>   will produce nonsense if inadvertantly handed something else.