missing/cbrt.c

Go to the documentation of this file.
00001 #include <math.h>
00002 
00003 double cbrt(double x)
00004 {
00005     if (x < 0)
00006         return -pow(-x, 1/3.0);
00007     else
00008         return pow(x, 1/3.0);
00009 }
00010 
00011 

Generated on Wed Aug 10 09:17:08 2011 for Ruby by  doxygen 1.4.7