algorithm to multiply two floating point numbers