Hi,
The VisitFloatingLiteral in StmtPrint is defined as:
// FIXME: print value more precisely.
OS << Node->getValueAsApproximateDouble();
This may result in lost of precision when printing double precision value. For example,
“-3.247834652034740e3” will be printed as “-3.247835e+03”
Is there any way to precisely print out a double precision value (i.e., the same as it appears in the source code)?
Cheers,
Zheng