* revert r19643: FloatToStr has to handle Nan correctly and should not cause

any exceptions (silent or not), FloatToStr has been fixed in r19783

git-svn-id: trunk@22877 -
This commit is contained in:
florian 2012-10-29 22:00:42 +00:00
parent 3a017f76d0
commit 6345aee80b

View File

@ -968,7 +968,7 @@ unit nx86add;
{ load fpu flags }
cg.getcpuregister(current_asmdata.CurrAsmList,NR_AX);
emit_reg(A_FSTSW,S_NO,NR_AX);
emit_reg(A_FNSTSW,S_NO,NR_AX);
emit_none(A_SAHF,S_NO);
cg.ungetcpuregister(current_asmdata.CurrAsmList,NR_AX);
if nf_swapped in flags then