This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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. }
History
Date User Action Args
2010-09-29 21:04:15Kiriakos.Vlahossetrecipients: + Kiriakos.Vlahos, loewis, sjmachin, mark.dickinson, eric.smith, brian.curtin, skrah
2010-09-29 21:04:15Kiriakos.Vlahossetmessageid: <1285794255.21.0.692506289532.issue9980@psf.upfronthosting.co.za>
2010-09-29 21:04:13Kiriakos.Vlahoslinkissue9980 messages
2010-09-29 21:04:13Kiriakos.Vlahoscreate