modified some float lib