Added support for floats and doubles.

These types are essential for almost any scientific application, I was
shocked to find they were not already supported.
4 files changed