Message117655
Does _Py_dg_dtoa depend on FPU flags that affect rounding or exceptions? I failed to mention that python is embedded in a Delphi executable. Delphi uses the following code at initialization.
procedure _FpuInit;
asm
FNINIT
FWAIT
{$IFDEF PIC}
CALL GetGOT
MOV EAX,[EAX].OFFSET Default8087CW
FLDCW [EAX]
{$ELSE}
FLDCW Default8087CW
{$ENDIF}
end;
Default8087CW: Word = $1332;{ Default 8087 control word. FPU control
register is set to this value.
CAUTION: Setting this to an invalid value
could cause unpredictable behavior. } |
|
Date |
User |
Action |
Args |
2010-09-29 21:04:15 | Kiriakos.Vlahos | set | recipients:
+ Kiriakos.Vlahos, loewis, sjmachin, mark.dickinson, eric.smith, brian.curtin, skrah |
2010-09-29 21:04:15 | Kiriakos.Vlahos | set | messageid: <1285794255.21.0.692506289532.issue9980@psf.upfronthosting.co.za> |
2010-09-29 21:04:13 | Kiriakos.Vlahos | link | issue9980 messages |
2010-09-29 21:04:13 | Kiriakos.Vlahos | create | |
|