English
Forum

Fließkommanzahlen with XPSE - 2

 

funkheld
Hello, good day.

who can me time Please show, How with Fließkommanzahlen worked becomes under XPSE ? How go The variables transfer there and back.

Mul-Div-Add-Sub-Sin-Cos

Thank you.
greeting
 
12/15/13  
 



simply Operators benefit!

Float f=10.0*20.0 - ... very How in XProfan only with the Difference that the Dezimalpunkt not are missing must. means not f=10 separate f=10.0

there's on the XPSE-Hilfeseite too one demonstration if one self...: [...] 
CompileMarkSeparation
//FPU/Fliesskomma selberschreiben:

nProc ArcSin2

    Parameters a!
    //Formel welche unten umgesetzt wird: arctan(a!/Sqrt(-a!*a!+1.0))
    mov eax,addr(a!)
    push eax
    fld qword ptr [eax]
    fmul qword ptr [eax]
    fsubr qword ptr __xeTF_00//__xeTF_00 Konstante für 0.0
    fadd qword ptr __xeTF_01//__xeTF_00 Konstante für 1.0
    fsqrt
    fdivr qword ptr [eax]
    fld1
    fpatan
    pop eax
    fstp qword ptr [eax]
    return a!

endproc

 
07/10/14  
 



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.851 Views

Untitledvor 0 min.
rquindt03/19/18
HofK09/29/15
Georg Teles09/19/15
Michael W.05/27/15
More...

Themeninformationen

this Topic has 2 subscriber:

iF (1x)
funkheld (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