
|
[openbeos]
||
[Date Prev]
[05-2005 Date Index]
[Date Next]
||
[Thread Prev]
[05-2005 Thread Index]
[Thread Next]
[openbeos] Re: trigonometric functions
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Tue, 17 May 2005 23:48:18 +0200 CEST
"Stephan Assmus" <superstippi@xxxxxx> wrote:
> I've run into a strange problem. When running the Haiku app_server on
> R5, Painter draws ellipses just fine. However, when running the real
> thing, ellipses look really strange, though they look always the same
> weird shape. At first I was completely puzzled, but now I'm
> suspecting
> that maybe one or more trigonometric functions might return bogus.
> Any
> ideas on how to track this down in an efficient way? I have not
> digged
> to deeply into AGG to see which ones it uses, but I'm hoping that
> there
> are some tests which I can run on stdlib, libroot or whatever
> implements these.
AFAICT there are no unit tests for these yet. Feel free to write them,
though :-)
All trigonometric functions can be converted to one another with more
or less effort, and there is also fixed behaviour and terms (like a^2+b
^2=c^2) that you can use for testing.
Bye,
Axel.
|

|