[fpc-pascal] Converting 32bit intel asm to Pascal or 64bit at&t asm

Thomas Schatzl tom_at_work at gmx.at
Wed Mar 9 18:26:24 CET 2011


 Hi,

 On Wed, 09 Mar 2011 11:58:08 -0500, Andrew Haines wrote:
>       if Tmp <> Im then
>       begin
>         //Tmp := ln(Tmp)*LogBase+Shift; // same as the following asm 
> proc?
>         asm
>           FLD LogBase;
>           FLD Tmp;
>           FYL2X;

 FYL2X calculates the log to the base 2 of tmp, not log to the base e of 
 tmp? Just a guess.

 Thomas




More information about the fpc-pascal mailing list