Re: [AD] Bug in arc()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> While waiting for al_sincos(), how about using sincos() under DJGPP (and
> BCC32).

Why not.

> Btw, this al_sincos must be coded in assembler, without calling the FPU,
> right?

No, we plan on just making it a wrapper around the i386 FPU instruction
fsincos.

> Just wondering, shouldn't DEBUGMODE test if a pointer is NULL before using
> it? I always thought that, by setting something to debug, it will do
> internal tests to prevent crashes. In this function it is irrelevant,
> because it can only be used by Allegro, but others, like do_arc, should
> IMHO assert if a pointer is NULL.

Yes, ideally.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/