> Here is the output this program compiled and run on a 4D/120GTX with 3.1G > > foo: 1.000000 > bar: 1.875000 > > try declaring the parameters as doubles. I've had problems using the ansi style declarations like foo( float ) has something to do with automatic promotion of arguments, etc...