Refactor floating-point formatting code; fix 80-bit denorms