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 -


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  
 



 
- Page 3 -


I wrote Yes: Error in the ASM. can Yes XProfan nothing for - says only hardship a number because one Flag staid is that The FPU-operation so not working. ASM-correct!
 
12/04/14  
 




funkheld
but How....???

greeting
 
12/04/14  
 




funkheld
How can because with XPSE such a thing reinsetzen?
----------------------------------------
.data
pi180 dq 0.017453292519943
---------------------------------------

greeting
 
12/04/14  
 



Yes hold simply ne Floatvariable i see not what You really want because is still everything so simply

float pi180=0.017453292519943

or var pi180!=0.017...
 
12/04/14  
 



have the Topic time moved in that XPSE Forum.
 
12/05/14  
 




funkheld
and How Problem with dBase your suggestion in ASM one ?

Thank you.
greeting
 
12/05/14  
 



becomes still automatically ASM,

white not where You a Hürde see.

Obigstes demonstration shows z.B. too How one a FloatVariable(nadresse) eax power, simply mov eax,addr(pi180).
 
12/05/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

22.916 Views

Untitledvor 0 min.
Gast.0815 vor 14 Tagen
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