Add support for custom exponent types and ranges. Add typedefs which match built in floating point types. Fix a couple of doc typos.