>>>
Is there such a thing as FlpConvertToDouble/ConvertToFlpDouble? If not, how
would I convert from double to FlpDouble and back?
<<<
Glen,
There's a composite floating point type called FlpCompDouble that might help.
It's a union of the flpDouble type and the double type (among others). For
example:
FlpCompDouble pi;
pi.fd = FlpAToF ("3.1415927"); /* pi.fd is of type flpDouble */
If you reference pi.d (type double), you'll find it equal to 3.1415927. Going
the other way -- assigning a double and getting an flpDouble -- should work as
well. I haven't worked much with this construct so I can't tell you of any
pitfalls.
Michael Yam
www.ytechnology.com