fixed floating point calc