From: Cary R. <cy...@ya...> - 2008-01-15 06:31:11
|
While working on pr1869769 (real comparisons in cont. assign.) I have run into a number of slightly related problems. The major one I have left is that real constants Cr<xxx> are not handled very well. The code generator prints them with a plain %lg which limits the precision of the value passed to the run time. Is there a system agnostic way to find the maximum precision so we can pass that to %g? The other half of the problem is that when the real number prints with an exponent the runtime crashes. This is because a '+' is not considered a valid character in a Cr<xxx> constant and after fixing that it complains about an invalid name which I am assuming is the '+' again. Should I just add '+' as need to fix things or should I submit this as a separate bug report for a more thorough analysis? Cary ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |