add compare float function;