diff liboctave/lo-specfun.h @ 10414:2a8b1db1e2ca

implement built-in cbrt
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 16 Mar 2010 15:16:32 +0100
parents 59e34bcdff13
children 4d1fc073fbb7
line wrap: on
line diff
--- a/liboctave/lo-specfun.h	Tue Mar 16 12:29:49 2010 +0100
+++ b/liboctave/lo-specfun.h	Tue Mar 16 15:16:32 2010 +0100
@@ -101,6 +101,14 @@
 #endif
 extern OCTAVE_API FloatComplex log1p (const FloatComplex& x);
 
+#if !defined (HAVE_CBRT)
+extern OCTAVE_API double cbrt (double x);
+#endif
+
+#if !defined (HAVE_CBRTF)
+extern OCTAVE_API float cbrtf (float x);
+#endif
+
 extern OCTAVE_API double xgamma (double x);
 extern OCTAVE_API double xlgamma (double x);
 extern OCTAVE_API Complex rc_lgamma (double x);