English
Forum

Doubleausgabe not working in XProfan4 , Single functions correctly.

 

funkheld
Hello, good day.
The spending of double in XProfan4 shows one Wrong Result/spending : double C = Mul(A, B)
with Single is the spending correctly. : Single C = Mul(A, B)

thanks
CLS
ASM "Mul", 2
JMP Start// plunge to that Start the actual Codes
Result:
DD 0// Speicherplatz for the Result
Start:
FLD Par1// Par1 to st0
FLD Par2// Par2 to st0, Par1 shift itself to st1
FMUL// st0 = st1 * st0, both values go of Stack taken and
// the Result on the Stack laid
FSTP [Result]// st0 to Result and of Stack removes
MOV EAX,[Result]// the Result to EAX (Return Value)
ENDASM
Set("Decimals",6)
Var double A = 2.25
Var double B = 3.50
Var double C = Mul(A, B)
Print C
WaitInput
End
 
12/11/22  
 




Georg
Teles
Hi,

severe taken is the Multiplikat one Quadrat from double (like metres x metres = m² bring I time as one schlechtes example).

therefore instead of

C as double again spend

Regards
 
Alle Sprachen
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

12/16/22  
 




funkheld
Hello, thanks for Help.

greeting
 
12/18/22  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.618 Views

Untitledvor 0 min.
Wilfried Friebe05/28/23
funkheld03/10/23
Paul Glatz03/06/23
Sven Bader02/24/23
More...

Themeninformationen

this Topic has 2 subscriber:

funkheld (2x)
Georg Teles (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie