Implement an API for working with floating point values