Add support for floating-point constants with exponents

Fixes #27