Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
49 user(s) are online (45 user(s) are browsing Forums)

Members: 0
Guests: 49

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Quite a regular


See User information
@hnl_dk

Heh? What language is this that you guys are using-:)

Know what, it's great, here and on AW folk are now getting to the important stuff, discussing programming fixes, possibilities and techniques. Really is refreshing even if I haven't got a clue what they are on about!! -:)


Bring back the arguements!!!! (joking of course)


ace

Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Quite a regular


See User information
@Raziel

What about forcing useATAN = 0
Can u test it?

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Quite a regular


See User information
@acefnq

Quote:

Heh? What language is this that you guys are using-:)
ace


math.h calls C language

Jack

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Just popping in
Just popping in


See User information
@joerg

Quote:

joerg wrote:
@hnl_dk
...
I've fixed it in newlib.library 52.7, but atan2(0,0) still returns NaN, just like in libnix, which is correct IMHO and the 0 from glibc and clib2 are wrong!?


http://www.opengroup.org/onlinepubs/009695399/functions/atan2.html

Quote:
If both arguments are 0, a domain error shall not occur.

Best regards,
hnl_dk - Henning Nielsen Lund [Denmark]
Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Home away from home
Home away from home


See User information
@Jack

Quote:

What about forcing useATAN = 0
Can u test it?

It will most probably work, as you can see in my first post,
the "workaround" was to completely remove the atan2()
function and it works. But this is nothing the ScummVM devs
will use in their code, casue it will break other builds
most surely.

Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Just popping in
Just popping in


See User information
@hnl_dk

Quote:

hnl_dk wrote:
@joerg

Quote:

joerg wrote:
@hnl_dk
...
I've fixed it in newlib.library 52.7, but atan2(0,0) still returns NaN, just like in libnix, which is correct IMHO and the 0 from glibc and clib2 are wrong!?


http://www.opengroup.org/onlinepubs/009695399/functions/atan2.html

Quote:
If both arguments are 0, a domain error shall not occur.


And in combination with the words of OpenGroup...
an explanation why clib2, glib2 and libm from BSD (and the documentation from OpenGroup) do want you to return 0
http://leaf.dragonflybsd.org/cgi/web-man?command=atan2§ion=3
Check the notes.

Best regards,
hnl_dk - Henning Nielsen Lund [Denmark]
Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Quite a regular


See User information
@Raziel

Quote:

It will most probably work, as you can see in my first post,
the "workaround" was to completely remove the atan2()
function and it works. But this is nothing the ScummVM devs
will use in their code, casue it will break other builds
most surely.


It won't break the build unless they remove the flag. You can patch the function internally anyway then.

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Home away from home
Home away from home


See User information
@Jack

True, better to have the fix for atan2, though

Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Just popping in
Just popping in


See User information
@Raziel

Quote:

Raziel wrote:
@Jack

True, better to have the fix for atan2, though


use the atan2fix link library to fix the problem

Best regards,
hnl_dk - Henning Nielsen Lund [Denmark]
Go to top
Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Quite a regular


See User information
@hnl_dk

Kudos to everyone who's involved!!!

Resized Image
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project