use code generator API instead of direct access to cfloat