Add primitive type for real numbers

Fixes #19