Setting precision in input/output mode is fine but what about if I want to set precision for any double or float say upto n significant digits only? so that even compiler, during its computations will consider as if the number had n significant digits only.
Also do we have any library function which can convert a double(or float) with n2 significant digits to the one with only n1 significant digits, where n2<n1 (not for input or output but permanently)? At the end does anyone have a clue what could be done if for very large or small numbers, in an iterative numerical problem, a function returns 1#INF instead of real value? It tried by casting the functions properly but it doesnt help. Any help would be greatly appreciated Thanks & Regards Vivek
