> Why not just write your own?? > > It is not like the equations that deal with e to the x power are copyright.
Perhaps the original poster only needed to raise e to INTEGER powers, but the Mathlib pow() function deals with the more general (and useful) case where the power is a double. ie double pow(double x, double y); If the original poster needs the more general case, it looks like the code can be lifted from the MathLib sources // 15 August 1997, Rick Huebner: Small changes made to adapt for MathLib /* @(#)e_pow.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. * ==================================================== */ I have no idea how much else of the MathLib functions would have to be dragged in, but it certainly doesn't look like a trivial 'why don't you write a similiar function' problem to me. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
