Fix issue with numeric equality pointed out by Jon Pretty.

This commit standardizes on using Double precision for equality.
This is consistent with how Javascript would actually interpret
these values.

Fixes #18.