Re: [AD] C++ fix math

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


> Makes little difference either way, but should be addressed by a
> separate patch.

Ok. I propose to settle for float.

> I see. But if you are using fixed point numbers, you probably believe
> they are faster, so it would be better to use fixmul() :-). I doubt
> there is a loss of precision, either, but I didn't experiment.

Ok, let's stay with fixmul().

> OK, I will do this when fixtorad() and radtofix() are in the CVS
> repository. Do you think it is necessary to slightly expand the 'fix'
> class docs to be less vague?

No, I don't think so. Just mention the special methods rad() and from_rad()
(and also document fixtorad() and radtofix()).

- Eric




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