** $Id$
**
** Copyright (c) 2002 Robert B. Quattlebaum Jr.
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
/* === H E A D E R S ======================================================= */
#include "_curve_func.h"
-#include <ETL/fixed>
+#include <cmath> // for ldexp
+// #include <ETL/fixed> // not used
/* === M A C R O S ========================================================= */
/*
* NearestPointOnCurve :
* Compute the parameter value of the point on a Bezier
- * curve segment closest to some arbtitrary, user-input point.
+ * curve segment closest to some arbitrary, user-input point.
* Return the point on the curve at that parameter value.
*
* value_type& P; The user-supplied point