Energy efficient floating-point unit design