Mail Archives: djgpp/1996/12/16/09:09:39
> > Also, unless I miss my guess, it's still not completely IEEE compliant in
> > that it doesn't implement the basic trig function set (partial tangent), not
> > to mention hyperbolics, or something as useful as simultaneous sin and cos.
>
> Wrong again... :) Well, the simultaneous sin and cos is there, and I am
> not too sure about the hyperbolics (I've never needed it!)
It doesn't implement them completely. Nearly all the transcendental
functions require you to "massage" the data to get it into the range
the fpu supports. For example, sin(x) is only valid for small values
of x; you must divide by 2PI and take the sin() of the remainder.
That eats up a lot of cycles.
- Raw text -