"Printing floating-point numbers quickly and accurately" - читать интересную книгу автора (Burger R.G.)