limits correctly computated for float type