change the way to get repetition. remove IEEE754 16bit macro.