Boost logo

Boost :

Subject: Re: [boost] Fixed point integer proposal
From: Soren Holstebroe (holstebroe_at_[hidden])
Date: 2009-06-25 14:57:51


Hi Kenny,

> My use-case for fixed-point arithmetic is game development on embedded
> devices that lack FPUs. Native support for trigonometric functions is
> something I would definitely want.

I can see there could be a need for it. However, in my opinion, it
would be out of the scope for a fixed point template to accurately and
effectively implement trigonometric functions. Especially for game
programming you would probably be better of interpolating values from
a sinus table rather than calculating the exact value.

Soren


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk