![]() |
AW: System.Frac / System.Int / Math.SimpleRoundTo - komische Ergebnisse
Zitat:
Delphi-Quellcode:
wie der dann zu "Frac" (ohne Unterstrich am Anfang) kommt, weiß ich nicht...
procedure _FRAC;
asm FLD ST(0) SUB ESP,4 FNSTCW [ESP].Word // save FNSTCW [ESP+2].Word // scratch FWAIT OR [ESP+2].Word, $0F00 // trunc toward zero, full precision FLDCW [ESP+2].Word FRNDINT FWAIT FLDCW [ESP].Word ADD ESP,4 FSUB end; |
AW: System.Frac / System.Int / Math.SimpleRoundTo - komische Ergebnisse
Vieles Assemblerzeugs wurde "inzwischen" abgeschafft und druch Pure-Pascal ersetzt, bzw. mit alternativen Varianten versehen,
wegen dem 64 Bit-Compiler (Windows) und auch für die anderen Platformen ala Linux, Android und iOS/OSX. |
AW: System.Frac / System.Int / Math.SimpleRoundTo - komische Ergebnisse
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:52 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz