Mail Archives: djgpp/1997/03/05/02:21:32
On 5 Mar 1997, Beautiful Savior Lutheran Church wrote:
> Paul Derbyshire (ao950 AT FreeNet DOT Carleton DOT CA) wrote:
>
>
> > Someone should write a library for this, implementing
> > log,sin,cos,exp,tan,asin,acos,atan,hyperbolic all of the above, sqrt, sqr,
> > raisedto, and so on.
>
> These all exist in two versions. The libc.a versions, which are somewhat
> slow and don't follow ANSI 100%, and the libm.a (the MATH library)
> versions, which are optimized and 100% ANSI. If you didn't know these
> functions already existed, I highly recommend reading a book on the ANSI
> library.
methinks, he meant: write these functions so that they work for type
__complex__. the libc versions, work for floats/doubles not for
__complex__.
regards
- Raw text -