You don't? The basic functions are easy, but the trigonometric functions aren't.I do not think it is that complicated if we have something to start from.
I once wrote a class in PowerBASIC to deal with complex numbers:
http://www.jose.it-berater.org/smffo...p?topic=3191.0
It is based in ansi C functions found in the GNU Scientific Library ( http://www.gnu.org/software/gsl/ ), distributed under the terms of the GNU General Public License (GPL).
It also makes heavy use of the math functions of the C runtime library, specially because I could not find code to implement some such finite and isnan with PB.
Bookmarks