fix point calculation