Index: trunk/psLib/src/math/psMathUtils.h
===================================================================
--- trunk/psLib/src/math/psMathUtils.h	(revision 11248)
+++ trunk/psLib/src/math/psMathUtils.h	(revision 12434)
@@ -6,6 +6,6 @@
  * @author GLG, MHPCC
  *
- * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-01-23 22:47:23 $
+ * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-03-14 02:36:28 $
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
  */
@@ -25,4 +25,11 @@
 #include "psPolynomial.h"
 
+typedef enum {
+    PS_BINARY_DISECT_PASS,
+    PS_BINARY_DISECT_OUTSIDE_RANGE,
+    PS_BINARY_DISECT_INVALID_INPUT,
+    PS_BINARY_DISECT_INVALID_TYPE,
+} psVectorBinaryDisectResult;
+
 /** Performs a binary disection on a monotonically non-decreasing vector.
  *  Searches through an array of data for a specified value.
@@ -30,5 +37,6 @@
  *  @return psS32    corresponding index number of specified value
  */
-psS32 p_psVectorBinDisect(
+psS32 psVectorBinaryDisect(
+    psVectorBinaryDisectResult *status,
     const psVector *bins,               ///< Array of non-decreasing values
     const psScalar *x                   ///< Target value to find
