English
Forum

Why smears these demonstration ex?

 
- Page 1 -



funkheld
These nProc is a demonstration of XPSE.
greeting
 {$CLEQ}
Declare  b!,c!
b!=3.14
c!=ArcSin2(b!)
End

nProc ArcSin2

    Parameters a!
    //Formel which under umgesetzt becomes: 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 Constant for 0.0
    fadd qword ptr __xeTF_01//__xeTF_00 Constant for 1.0
    fsqrt
    fdivr qword ptr [eax]
    fld1
    fpatan
    pop eax
    fstp qword ptr [eax]
    return a!

endproc

 
11/30/14  
 



 
- Page 2 -



Michael
W.
For which go The __xeTF_00 and __xeTF_01 because needed ???
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
12/03/14  
 



are Konstanten:

__xeTF_00 dq 0.0
__xeTF_01 dq 1.0
__xeTF_02 dq 1.57079632679489656
__xeTF_03 dq 0.01745329251994329
__xeTF_04 dq 57.29577951308232087

TF for Temp(orary)Float
 
12/03/14  
 




Michael
W.
are FLDZ (= 0.0) and FLD1 (= 1.0) because slower as your Konstanten?

(where I still question Why in the program The zero needed becomes. in the Formel becomes these not erwähnt.)
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
12/03/14  
 



becomes tappt im dunkeln: -a!*

the less, I mach 0- instead of fchs,

have me sozusagen with few command beholfen nevertheless To achieve,
what sure with others command kompakter To solve would.
 
12/03/14  
 




Michael
W.
Yes, then is 0-(a*a) naturally verständlich (long since, The school)...

but wait ought to through fwait supplant go. fwait wait on The fpatan-Berechnung and ought to -- the seh I now first -- too directly behind it stand. the Save the Ergebnisses means behind fwait.

too already something longer since the Assemblern
 
XProfan X3
System: Windows 8/10, XProfan X4
Programmieren, das spannendste Detektivspiel der Welt.
12/04/14  
 



the not bad but I bad because I known it rather (fwait to atan) and habs dummblind eingetippt. Werds but on the Odokuseite To xpse correct the example. thanks In any drop for Aufmerksamsein. would have been you really used as i The nProcs program have. Leisten me to date perfect Daemons and having imho too no Bugs. is for me richtiges native Profan for Threads and APCs and Superspeed - becomes but faith I from the Community generally not too much accepted there badly beworben and only of individual angepriesen and the remainder has fear to strain and weight. However, gives wichtiges...
 
12/04/14  
 




funkheld
-----------------------------------------------------------------
the NaN hardship a number gives XProfan from vlt. with "ungültigen?" Fließkommawerten.
----------------------------------------------------------------

How functions then Please The spending of Result?
The working Durchlauf says Yes yet nothing over the Result from.

Thank you.
greeting
 
12/04/14  
 



the could heissen that The Fliesskommaoperationen failed, quasi ungültige Operationen dependent watts. there setting The (Fließkomma)CPU one Flag "kam only murx with raus" and XProfan Gibts as NaN again. there is correct then means what on the Assembler not. You can whom begot ASM standing because You The .asm-File open. look time whether there debarked what You written have.
 
12/04/14  
 




RGH
"NaN" comes definitiv not of XProfan!

Greeting
Roland
 
XProfan X2
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
12/04/14  
 



Dochdoch! is Delphi-Pascalausgabe.
 
12/04/14  
 




funkheld
Jup, I have XProfan 11.2a

Hmmm...i want now not so rumbasteln, really ought to it for me only
functions. therefore my Hilferuf.

greeting
 
12/04/14  
 




funkheld
with FreeProfan32 comes too The Message " Nan"

greeting
 
12/04/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

24.212 Views

Untitledvor 0 min.
Gast.081511/11/24
funkheld12/30/21
p.specht09/19/18
E.T.04/12/18
More...

Themeninformationen



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