Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.316 Beiträge
Delphi 12 Athens
|
Re: Exponent aus Extended extrahieren?
2. Mai 2009, 20:25
und so?
Delphi-Quellcode:
class operator FIXCOMMA64.Multiply( const Left, Right: FIXCOMMA64): FIXCOMMA64;
const
idiv: LongInt = 1000000000;
asm
mov eax, &Left
fild qword ptr [eax]
mov eax, &Right
fild qword ptr [eax]
fmulp st(1), st(0)
fidiv dword ptr [&idiv]
mov eax, &Result
fistp qword ptr [eax]
wait
end;
Ein Therapeut entspricht 1024 Gigapeut.
|