Message117655
| Author |
Kiriakos.Vlahos |
| Recipients |
Kiriakos.Vlahos, brian.curtin, eric.smith, loewis, mark.dickinson, sjmachin, skrah |
| Date |
2010年09月29日.21:04:13 |
| SpamBayes Score |
9.2646515e-05 |
| Marked as misclassified |
No |
| Message-id |
<1285794255.21.0.692506289532.issue9980@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. } |
|