Fix floating point comparisons for some hardware.

FLoating point comparisons are inexact:  this change fixes some
code that was causing testsuite failure on PPC hardware.
Merge pull request #6 from bregma/ppc-comparisons

Fix floating point comparisons for some hardware.