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

Micah Cowan vox-tech@lists.lugod.org
Mon, 14 Jan 2002 16:30:15 -0800


On Mon, Jan 14, 2002 at 03:32:03PM -0800, Peter Jay Salzman wrote:
> 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.

To get access to those (again, only in C99, which gcc/glibc doesn't
support fully yet), you include <tgmath.h> (type-generic math).

HTH,
Micah