Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
95 user(s) are online (83 user(s) are browsing Forums)

Members: 0
Guests: 95

more...
Support us!
Recent OS4 Files
OS4Depot.net



« 1 (2)


Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Joined:
2006/11/25 13:38
From Adelaide South Australia
Posts: 619
@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

   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Joined:
2006/11/27 22:17
From Israel
Posts: 932
@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
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Joined:
2006/11/27 22:17
From Israel
Posts: 932
@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
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Just popping in
Joined:
2006/11/16 20:53
From Denmark
Posts: 74
@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]
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@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.

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Just popping in
Joined:
2006/11/16 20:53
From Denmark
Posts: 74
@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]
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Joined:
2006/11/27 22:17
From Israel
Posts: 932
@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
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Home away from home
Joined:
2006/11/26 21:45
From a story that hasn't been written yet
Posts: 3550
@Jack

True, better to have the fix for atan2, though

_________________
If slaughterhouses had glass walls, everyone would be a vegetarian. ~ Sir Paul McCartney
-
Did everything just taste purple for a second? ~ Philip J. Fry
-
Ain't got no cash, ain't got no style, ladies vomit when I smile. ~ Dr.
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Just popping in
Joined:
2006/11/16 20:53
From Denmark
Posts: 74
@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]
   Report Go to top

Re: SDK-Gurus: ScummVM_OS4 needs your help
Quite a regular
Joined:
2006/11/27 22:17
From Israel
Posts: 932
@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
   Report Go to top


« 1 (2)



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project